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.002666/0.002666, allocations: 91.61 kB / 20.96 MB, free: 3.438 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.00307/0.00307, allocations: 156.9 kB / 24.27 MB, free: 140 kB / 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 1.548/1.548, allocations: 177 MB / 204.5 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.743e-06/1.743e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.496e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.009919/0.009944, allocations: 6.351 MB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005356/0.0153, allocations: 2.534 MB / 281.1 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000474/0.01577, allocations: 24 kB / 281.1 MB, free: 8.863 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003638/0.01941, allocations: 1.349 MB / 282.5 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.02104, allocations: 0.5316 MB / 283 MB, free: 6.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.02375, allocations: 1.226 MB / 284.2 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001539/0.02529, allocations: 1.109 MB / 285.3 MB, free: 4.629 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.02654, allocations: 0.7739 MB / 286.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008905/0.02743, allocations: 0.6587 MB / 286.8 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/0.0281, allocations: 418.8 kB / 287.2 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.02827, allocations: 96 kB / 287.3 MB, free: 2.668 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009055/0.02917, allocations: 411.3 kB / 287.7 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.02944, allocations: 235.1 kB / 287.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004754/0.02991, allocations: 363.1 kB / 288.2 MB, free: 1.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.03234, allocations: 1.581 MB / 289.8 MB, free: 96 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.03234, allocations: 7.922 kB / 289.8 MB, free: 88 kB / 266.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.03234, allocations: 4 kB / 289.8 MB, free: 84 kB / 266.7 MB Notification: Performance of Transformations before backend: time 2.122e-05/0.03236, allocations: 0 / 289.8 MB, free: 84 kB / 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.1266/0.159, allocations: 1.92 MB / 291.8 MB, free: 28.72 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.159, allocations: 10.22 kB / 291.8 MB, free: 28.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003301/0.1623, allocations: 0.6404 MB / 292.4 MB, free: 28.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.163, allocations: 452.3 kB / 292.9 MB, free: 28.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/0.1631, allocations: 86.88 kB / 292.9 MB, free: 28.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.1633, allocations: 116.2 kB / 293.1 MB, free: 28.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.165, allocations: 0.989 MB / 294 MB, free: 27.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/0.165, allocations: 1.438 kB / 294 MB, free: 27.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-05/0.1651, allocations: 46.41 kB / 294.1 MB, free: 27.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.1651, allocations: 26.59 kB / 294.1 MB, free: 27.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.1669, allocations: 0.9272 MB / 295 MB, free: 27.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005444/0.1723, allocations: 3.348 MB / 298.4 MB, free: 25.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.1739, allocations: 0.8394 MB / 299.2 MB, free: 25.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006645/0.1746, allocations: 390.1 kB / 299.6 MB, free: 25.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.1747, allocations: 37.25 kB / 299.6 MB, free: 25.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008064/0.1755, allocations: 0.5452 MB / 300.2 MB, free: 24.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.785e-06/0.1755, allocations: 0 / 300.2 MB, free: 24.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.007465/0.1829, allocations: 3.604 MB / 303.8 MB, free: 23.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.183, allocations: 141.5 kB / 303.9 MB, free: 22.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.1834, allocations: 0.5007 MB / 304.4 MB, free: 22.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.1834, allocations: 45.7 kB / 304.5 MB, free: 22.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.1836, allocations: 0.4975 MB / 305 MB, free: 21.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.1838, allocations: 467.2 kB / 305.4 MB, free: 21.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002695/0.1841, allocations: 244.6 kB / 305.7 MB, free: 21.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1843, allocations: 0.5938 MB / 306.3 MB, free: 20.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005262/0.1848, allocations: 338.5 kB / 306.6 MB, free: 20.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006947/0.1855, allocations: 0.6737 MB / 307.3 MB, free: 19.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.1867, allocations: 1.038 MB / 308.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1867, allocations: 0 / 308.3 MB, free: 18.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002095/0.1888, allocations: 1.436 MB / 309.7 MB, free: 16.92 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1888, allocations: 8 kB / 309.7 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1888, allocations: 4 kB / 309.8 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.1903, allocations: 458.7 kB / 310.2 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007397/0.191, allocations: 203.7 kB / 310.4 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006117/0.1971, allocations: 10.4 MB / 320.8 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007204/0.1978, allocations: 39.94 kB / 320.8 MB, free: 5.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.1979, allocations: 47.98 kB / 320.9 MB, free: 5.309 MB / 266.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.000424/0.1983, allocations: 300.4 kB / 321.2 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.1985, allocations: 115.5 kB / 321.3 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/0.2006, allocations: 1.306 MB / 322.6 MB, free: 3.562 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.2006, allocations: 12 kB / 322.6 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.2006, allocations: 10.95 kB / 322.6 MB, free: 3.543 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.2006, allocations: 7.969 kB / 322.6 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.204, allocations: 2.466 MB / 325.1 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.204, allocations: 0 / 325.1 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000605/0.2046, allocations: 147.8 kB / 325.2 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/0.2059, allocations: 442.4 kB / 325.7 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.458e-05/0.206, allocations: 27.25 kB / 325.7 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01056/0.2166, allocations: 9.935 MB / 335.6 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.2166, allocations: 7.984 kB / 335.6 MB, free: 5.992 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003711/0.2203, allocations: 1.918 MB / 337.6 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.2206, allocations: 155.4 kB / 337.7 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.2207, allocations: 27.98 kB / 337.7 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/0.2212, allocations: 32 kB / 337.8 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/0.2214, allocations: 100.8 kB / 337.9 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/0.2215, allocations: 35.98 kB / 337.9 MB, free: 3.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003987/0.2219, allocations: 319.1 kB / 338.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2219, allocations: 0 / 338.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001277/0.2232, allocations: 319.9 kB / 338.5 MB, free: 3.035 MB / 282.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.0003326/0.2235, allocations: 184.3 kB / 338.7 MB, free: 2.855 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0031/0.2266, allocations: 1.868 MB / 340.6 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.2266, allocations: 4 kB / 340.6 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.2288, allocations: 1.404 MB / 342 MB, free: 15.44 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.2293, allocations: 77.78 kB / 342.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/0.2332, allocations: 1.927 MB / 344 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.2337, allocations: 436 kB / 344.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004197/0.2342, allocations: 98 kB / 344.5 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.2343, allocations: 64.42 kB / 344.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2343, allocations: 0 / 344.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of Templates: time 0.0239/0.2582, allocations: 11.41 MB / 356 MB, free: 1.488 MB / 298.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","/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.171041071997024]