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.001421/0.001421, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001087/0.001087, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.9267/0.9267, allocations: 177 MB / 205.9 MB, free: 4.453 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.482e-06/1.482e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.437e-05, allocations: 2.312 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005767/0.005791, allocations: 6.277 MB / 280.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004179/0.00997, allocations: 2.531 MB / 282.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003873/0.01384, allocations: 23.94 kB / 282.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.01612, allocations: 1.306 MB / 284.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004665/0.02079, allocations: 0.5354 MB / 284.8 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004925/0.02571, allocations: 1.191 MB / 286 MB, free: 8.383 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.02718, allocations: 1.109 MB / 287.1 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.02831, allocations: 0.7699 MB / 287.9 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00395/0.03226, allocations: 0.6548 MB / 288.5 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006246/0.03288, allocations: 422.8 kB / 288.9 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.03303, allocations: 104 kB / 289 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008787/0.03391, allocations: 399.4 kB / 289.4 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.03407, allocations: 243.1 kB / 289.7 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003344/0.03742, allocations: 359.1 kB / 290 MB, free: 4.324 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.03908, allocations: 1.098 MB / 291.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.03909, allocations: 0 / 291.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.03909, allocations: 0 / 291.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.03911, allocations: 0 / 291.1 MB, free: 3.223 MB / 266.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.006369/0.04548, allocations: 1.846 MB / 292.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.04551, allocations: 8.031 kB / 293 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005547/0.05106, allocations: 0.6362 MB / 293.6 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.05166, allocations: 447.5 kB / 294 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/0.05172, allocations: 86.59 kB / 294.1 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.05186, allocations: 112.1 kB / 294.2 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.05361, allocations: 0.6856 MB / 294.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.05363, allocations: 3.953 kB / 294.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/0.05369, allocations: 48 kB / 295 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.0537, allocations: 24 kB / 295 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005227/0.05423, allocations: 455.9 kB / 295.4 MB, free: 14.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.05728, allocations: 2.787 MB / 298.2 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007362/0.05801, allocations: 0.6655 MB / 298.9 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.05829, allocations: 249 kB / 299.1 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.215e-05/0.05836, allocations: 40.91 kB / 299.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003937/0.05875, allocations: 418.8 kB / 299.6 MB, free: 10.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=96): time 2.836e-06/0.05875, allocations: 0 / 299.6 MB, free: 10.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=125): time 0.003466/0.06222, allocations: 2.513 MB / 302.1 MB, free: 7.875 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/0.0624, allocations: 145.5 kB / 302.2 MB, free: 7.699 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.06264, allocations: 422.3 kB / 302.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.06268, allocations: 45.7 kB / 302.7 MB, free: 7.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.06287, allocations: 491.6 kB / 303.2 MB, free: 6.734 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.06308, allocations: 448.1 kB / 303.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.06328, allocations: 224.5 kB / 303.8 MB, free: 6.062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.06342, allocations: 0.5623 MB / 304.4 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.0636, allocations: 150.4 kB / 304.5 MB, free: 5.344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.06391, allocations: 474.7 kB / 305 MB, free: 4.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007618/0.06467, allocations: 0.6317 MB / 305.6 MB, free: 4.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.06467, allocations: 0 / 305.6 MB, free: 4.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001117/0.06579, allocations: 0.987 MB / 306.6 MB, free: 3.055 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.06581, allocations: 8 kB / 306.6 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.06581, allocations: 7.938 kB / 306.6 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006899/0.0665, allocations: 373.2 kB / 307 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.06692, allocations: 203.7 kB / 307.2 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004671/0.07159, allocations: 9.156 MB / 316.3 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.07192, allocations: 40 kB / 316.4 MB, free: 8.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.07196, allocations: 31.98 kB / 316.4 MB, free: 8.801 MB / 298.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.0002257/0.07218, allocations: 232.3 kB / 316.6 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.0723, allocations: 119.5 kB / 316.8 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.07334, allocations: 0.9135 MB / 317.7 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.07335, allocations: 12 kB / 317.7 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.07336, allocations: 8.125 kB / 317.7 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.07337, allocations: 3.984 kB / 317.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.07528, allocations: 1.776 MB / 319.5 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.07528, allocations: 0 / 319.5 MB, free: 5.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.07561, allocations: 151.8 kB / 319.6 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006405/0.07625, allocations: 358.4 kB / 320 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/0.07643, allocations: 31.98 kB / 320 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004085/0.08051, allocations: 8.789 MB / 328.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.08052, allocations: 11.88 kB / 328.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.0818, allocations: 1.262 MB / 330.1 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.08199, allocations: 147.4 kB / 330.2 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.08205, allocations: 32 kB / 330.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.08228, allocations: 31.98 kB / 330.3 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.08241, allocations: 108.7 kB / 330.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.08245, allocations: 27.98 kB / 330.4 MB, free: 10.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001365/0.08258, allocations: 255 kB / 330.7 MB, free: 9.922 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08258, allocations: 0 / 330.7 MB, free: 9.922 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008396/0.08342, allocations: 315.9 kB / 331 MB, free: 9.613 MB / 314.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.0002162/0.08364, allocations: 187 kB / 331.1 MB, free: 9.422 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001208/0.08485, allocations: 1.484 MB / 332.6 MB, free: 7.867 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.08485, allocations: 8.062 kB / 332.6 MB, free: 7.859 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007858/0.08564, allocations: 1.215 MB / 333.9 MB, free: 6.574 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.08599, allocations: 74.73 kB / 333.9 MB, free: 6.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.08819, allocations: 1.755 MB / 335.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/0.08835, allocations: 203.6 kB / 335.9 MB, free: 4.461 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002401/0.08859, allocations: 105.9 kB / 336 MB, free: 4.355 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.08881, allocations: 170.2 kB / 336.1 MB, free: 4.188 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.08881, allocations: 0 / 336.1 MB, free: 4.188 MB / 314.7 MB Notification: Performance of Templates: time 0.01568/0.1045, allocations: 12.55 MB / 348.7 MB, free: 7.738 MB / 330.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1340316492132843]