Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008777/0.0008777, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004444/0.004444, allocations: 154.4 kB / 24.7 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8818/0.8818, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 325.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.216e-05, allocations: 2.281 kB / 325.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005181/0.005204, allocations: 5.854 MB / 331.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.008165, allocations: 2.472 MB / 334.1 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/0.008504, allocations: 23.94 kB / 334.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.009945, allocations: 1.255 MB / 335.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008521/0.0108, allocations: 0.5393 MB / 335.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.01201, allocations: 1.19 MB / 337.1 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008577/0.01287, allocations: 1.113 MB / 338.2 MB, free: 2.746 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008112/0.01368, allocations: 0.7816 MB / 339 MB, free: 1.949 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005551/0.01424, allocations: 0.647 MB / 339.6 MB, free: 1.301 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004058/0.01464, allocations: 430.8 kB / 340.1 MB, free: 0.875 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.098e-05/0.01473, allocations: 96 kB / 340.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004815/0.01521, allocations: 391.4 kB / 340.5 MB, free: 408 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.01534, allocations: 239.1 kB / 340.8 MB, free: 168 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.01558, allocations: 367.2 kB / 341.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.01675, allocations: 1.569 MB / 342.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01676, allocations: 0 / 342.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01676, allocations: 0 / 342.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.01677, allocations: 0 / 342.7 MB, free: 14.23 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.002474/0.01924, allocations: 1.692 MB / 344.4 MB, free: 12.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.01929, allocations: 8.031 kB / 344.4 MB, free: 12.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.02081, allocations: 475.8 kB / 344.9 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005045/0.02132, allocations: 440.7 kB / 345.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/0.02137, allocations: 82.59 kB / 345.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.02148, allocations: 116.1 kB / 345.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.02268, allocations: 1.025 MB / 346.5 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.02271, allocations: 11.95 kB / 346.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.912e-05/0.02278, allocations: 44 kB / 346.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.02279, allocations: 28 kB / 346.6 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.02396, allocations: 0.9535 MB / 347.6 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003541/0.0275, allocations: 2.943 MB / 350.5 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.02859, allocations: 0.8212 MB / 351.3 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.0291, allocations: 399.4 kB / 351.7 MB, free: 4.973 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.234e-05/0.02918, allocations: 28.98 kB / 351.7 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006216/0.0298, allocations: 0.5058 MB / 352.2 MB, free: 4.402 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 2.034e-06/0.02981, allocations: 4 kB / 352.2 MB, free: 4.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=125): time 0.005435/0.03524, allocations: 3.683 MB / 355.9 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/0.03532, allocations: 141.5 kB / 356.1 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.03565, allocations: 397.4 kB / 356.5 MB, free: 108 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.0357, allocations: 49.64 kB / 356.5 MB, free: 52 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.03595, allocations: 441 kB / 356.9 MB, free: 15.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.03619, allocations: 436.2 kB / 357.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.0364, allocations: 202.9 kB / 357.6 MB, free: 14.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.03655, allocations: 374.8 kB / 357.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/0.03702, allocations: 350.5 kB / 358.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.03761, allocations: 0.5853 MB / 358.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.03867, allocations: 0.9349 MB / 359.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.03868, allocations: 0 / 359.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001633/0.04031, allocations: 1.363 MB / 361.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.04033, allocations: 11.44 kB / 361.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.04034, allocations: 4 kB / 361.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005606/0.0409, allocations: 351.2 kB / 361.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/0.04134, allocations: 207.6 kB / 361.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005356/0.04669, allocations: 7.869 MB / 369.6 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.047, allocations: 55.86 kB / 369.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.04705, allocations: 44 kB / 369.7 MB, free: 2.293 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002875/0.04734, allocations: 261.6 kB / 369.9 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.671e-05/0.04741, allocations: 71.58 kB / 370 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.04898, allocations: 1.281 MB / 371.3 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.04899, allocations: 12.12 kB / 371.3 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.049, allocations: 12 kB / 371.3 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.04901, allocations: 7.922 kB / 371.3 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/0.05147, allocations: 2.209 MB / 373.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.05147, allocations: 0 / 373.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.05181, allocations: 151.8 kB / 373.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.05227, allocations: 330.4 kB / 374 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/0.05231, allocations: 27.98 kB / 374 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004548/0.05686, allocations: 7.523 MB / 381.5 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.05687, allocations: 0 / 381.5 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.05895, allocations: 1.809 MB / 383.4 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.05918, allocations: 151.4 kB / 383.5 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.05923, allocations: 24 kB / 383.5 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.05947, allocations: 35.98 kB / 383.6 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.05963, allocations: 104.7 kB / 383.7 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.05967, allocations: 36 kB / 383.7 MB, free: 3.707 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002013/0.05987, allocations: 263.1 kB / 384 MB, free: 3.453 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05987, allocations: 3.938 kB / 384 MB, free: 3.449 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008753/0.06075, allocations: 316 kB / 384.3 MB, free: 3.141 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (rootMeanSquare.mean.x,coil.i,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003073/0.06105, allocations: 186.9 kB / 384.5 MB, free: 2.949 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.0628, allocations: 1.545 MB / 386 MB, free: 1.355 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.06281, allocations: 0 / 386 MB, free: 1.355 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000952/0.06376, allocations: 1.108 MB / 387.1 MB, free: 200 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.06413, allocations: 76.69 kB / 387.2 MB, free: 128 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.06648, allocations: 1.873 MB / 389.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.06679, allocations: 436 kB / 389.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.06695, allocations: 76.47 kB / 389.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.06695, allocations: 0 / 389.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of Templates: time 0.01904/0.08599, allocations: 27.32 MB / 416.9 MB, free: 2.273 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.880752768367529]