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.001458/0.001458, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001689/0.001689, allocations: 156.9 kB / 24.27 MB, free: 172 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.445/1.445, allocations: 177 MB / 204.4 MB, free: 5.637 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.853e-06/1.853e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.726e-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.009226/0.009253, allocations: 5.855 MB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005257/0.01451, allocations: 2.472 MB / 280.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004274/0.01494, allocations: 23.94 kB / 280.5 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003195/0.01813, allocations: 1.244 MB / 281.8 MB, free: 8.176 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.01958, allocations: 0.5355 MB / 282.3 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.02226, allocations: 1.187 MB / 283.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.02374, allocations: 1.113 MB / 284.6 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.02503, allocations: 0.7817 MB / 285.4 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009065/0.02593, allocations: 0.6548 MB / 286.1 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/0.0266, allocations: 414.8 kB / 286.5 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.02676, allocations: 96 kB / 286.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008597/0.02762, allocations: 399.4 kB / 287 MB, free: 2.977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.02786, allocations: 235.1 kB / 287.2 MB, free: 2.746 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007346/0.02859, allocations: 363.1 kB / 287.5 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.03078, allocations: 1.573 MB / 289.1 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.03078, allocations: 3.938 kB / 289.1 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.03078, allocations: 4 kB / 289.1 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.0308, allocations: 0 / 289.1 MB, free: 0.8047 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.1132/0.1439, allocations: 1.672 MB / 290.8 MB, free: 28.67 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.144, allocations: 11.84 kB / 290.8 MB, free: 28.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003436/0.1474, allocations: 0.6412 MB / 291.4 MB, free: 28.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008076/0.1482, allocations: 442.8 kB / 291.9 MB, free: 28.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.04e-05/0.1483, allocations: 85.03 kB / 292 MB, free: 28.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.1485, allocations: 119.9 kB / 292.1 MB, free: 28.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.1504, allocations: 1.018 MB / 293.1 MB, free: 27.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.1505, allocations: 6.875 kB / 293.1 MB, free: 27.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.843e-05/0.1506, allocations: 42.38 kB / 293.1 MB, free: 27.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.1506, allocations: 26.53 kB / 293.2 MB, free: 27.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.1525, allocations: 0.9597 MB / 294.1 MB, free: 27.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005557/0.158, allocations: 2.967 MB / 297.1 MB, free: 25.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.1597, allocations: 0.8258 MB / 297.9 MB, free: 25.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007672/0.1604, allocations: 389.2 kB / 298.3 MB, free: 25.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.1606, allocations: 36.55 kB / 298.3 MB, free: 25.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008833/0.1615, allocations: 0.5172 MB / 298.9 MB, free: 24.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.166e-06/0.1615, allocations: 0 / 298.9 MB, free: 24.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.00892/0.1704, allocations: 3.727 MB / 302.6 MB, free: 23.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.1704, allocations: 142.4 kB / 302.7 MB, free: 23.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/0.1709, allocations: 392.8 kB / 303.1 MB, free: 22.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/0.1709, allocations: 49.67 kB / 303.2 MB, free: 22.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.1711, allocations: 434.3 kB / 303.6 MB, free: 22.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.1713, allocations: 439.3 kB / 304 MB, free: 22.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.1716, allocations: 209.6 kB / 304.2 MB, free: 22.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.1717, allocations: 370.7 kB / 304.6 MB, free: 21.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006259/0.1723, allocations: 349.8 kB / 304.9 MB, free: 21.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007006/0.173, allocations: 0.5896 MB / 305.5 MB, free: 20.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.1743, allocations: 0.9309 MB / 306.4 MB, free: 20 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1743, allocations: 4 kB / 306.4 MB, free: 20 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002267/0.1766, allocations: 1.408 MB / 307.8 MB, free: 18.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1766, allocations: 8 kB / 307.9 MB, free: 18.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.1766, allocations: 7.984 kB / 307.9 MB, free: 18.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.178, allocations: 434.1 kB / 308.3 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/0.1788, allocations: 211.6 kB / 308.5 MB, free: 17.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005725/0.1846, allocations: 7.94 MB / 316.4 MB, free: 9.613 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/0.1853, allocations: 39.98 kB / 316.5 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.1854, allocations: 48.19 kB / 316.5 MB, free: 9.527 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.0003803/0.1858, allocations: 257.6 kB / 316.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.1859, allocations: 119.5 kB / 316.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.1882, allocations: 1.276 MB / 318.2 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.1882, allocations: 12 kB / 318.2 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/0.1882, allocations: 14.94 kB / 318.2 MB, free: 7.828 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.1882, allocations: 3.984 kB / 318.2 MB, free: 7.824 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.1916, allocations: 2.2 MB / 320.4 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.1916, allocations: 0 / 320.4 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/0.1922, allocations: 160 kB / 320.5 MB, free: 5.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.1936, allocations: 424.6 kB / 321 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.17e-05/0.1937, allocations: 27.98 kB / 321 MB, free: 4.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006865/0.2005, allocations: 7.576 MB / 328.6 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.2005, allocations: 4.062 kB / 328.6 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00394/0.2045, allocations: 1.837 MB / 330.4 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/0.2051, allocations: 147.4 kB / 330.6 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.2052, allocations: 31.98 kB / 330.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005567/0.2058, allocations: 35.98 kB / 330.6 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/0.2061, allocations: 104.8 kB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.558e-05/0.2061, allocations: 32 kB / 330.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003823/0.2065, allocations: 259.2 kB / 331 MB, free: 10.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2065, allocations: 0 / 331 MB, free: 10.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001356/0.2079, allocations: 315.9 kB / 331.3 MB, free: 10.23 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.0003614/0.2082, allocations: 179.1 kB / 331.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003119/0.2114, allocations: 1.559 MB / 333 MB, free: 8.449 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.2114, allocations: 4 kB / 333 MB, free: 8.445 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001962/0.2133, allocations: 1.098 MB / 334.1 MB, free: 7.305 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.214, allocations: 83.56 kB / 334.2 MB, free: 7.223 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.2181, allocations: 1.869 MB / 336.1 MB, free: 5.301 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005867/0.2186, allocations: 440 kB / 336.5 MB, free: 4.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000464/0.2191, allocations: 98 kB / 336.6 MB, free: 4.742 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.2193, allocations: 68.47 kB / 336.7 MB, free: 4.676 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.2193, allocations: 0 / 336.7 MB, free: 4.676 MB / 282.7 MB Notification: Performance of Templates: time 0.02479/0.2441, allocations: 11.26 MB / 348 MB, free: 9.547 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=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.058712327037938]