Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 84.66 kB / 20.95 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 149.1 kB / 24.25 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 173.4 MB / 200.8 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.732e-05, allocations: 2.312 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.009264/0.009291, allocations: 5.809 MB / 273.1 MB, free: 0.875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005335/0.01463, allocations: 2.386 MB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007566/0.01538, allocations: 20 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003387/0.01877, allocations: 1.259 MB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.02108, allocations: 0.6714 MB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002446/0.02352, allocations: 1.043 MB / 278.5 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.02527, allocations: 1.109 MB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.02666, allocations: 0.766 MB / 280.4 MB, free: 9.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.02776, allocations: 0.6393 MB / 281 MB, free: 8.934 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000801/0.02857, allocations: 418.8 kB / 281.4 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.02878, allocations: 96 kB / 281.5 MB, free: 8.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009313/0.02971, allocations: 403.3 kB / 281.9 MB, free: 8.035 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.02997, allocations: 239.1 kB / 282.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005208/0.0305, allocations: 355.1 kB / 282.5 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.03268, allocations: 1.554 MB / 284.1 MB, free: 5.895 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.03269, allocations: 0 / 284.1 MB, free: 5.895 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.03269, allocations: 0 / 284.1 MB, free: 5.895 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.0327, allocations: 0 / 284.1 MB, free: 5.895 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.004794/0.03749, allocations: 1.673 MB / 285.7 MB, free: 4.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.03754, allocations: 8.922 kB / 285.7 MB, free: 4.172 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003422/0.04096, allocations: 0.6479 MB / 286.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007718/0.04173, allocations: 431.7 kB / 286.8 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.309e-05/0.04182, allocations: 86.53 kB / 286.9 MB, free: 2.988 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.04202, allocations: 124.1 kB / 287 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.04409, allocations: 1.017 MB / 288 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.04412, allocations: 0 / 288 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.04423, allocations: 48 kB / 288.1 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.04426, allocations: 24 kB / 288.1 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.04642, allocations: 0.9574 MB / 289.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1072/0.1536, allocations: 2.955 MB / 292 MB, free: 31.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.1553, allocations: 0.8182 MB / 292.8 MB, free: 31.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007915/0.1561, allocations: 392.3 kB / 293.2 MB, free: 30.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.242e-05/0.1562, allocations: 25.91 kB / 293.2 MB, free: 30.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008976/0.1571, allocations: 0.5167 MB / 293.8 MB, free: 30.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.938e-06/0.1571, allocations: 1.094 kB / 293.8 MB, free: 30.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=125): time 0.009691/0.1668, allocations: 3.733 MB / 297.5 MB, free: 29.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.1669, allocations: 142.5 kB / 297.6 MB, free: 29.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.1674, allocations: 376.5 kB / 298 MB, free: 28.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/0.1675, allocations: 46.27 kB / 298 MB, free: 28.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.1677, allocations: 439.4 kB / 298.5 MB, free: 28.43 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.168, allocations: 437.5 kB / 298.9 MB, free: 28.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003006/0.1683, allocations: 207.2 kB / 299.1 MB, free: 27.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1684, allocations: 371.3 kB / 299.5 MB, free: 27.64 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007225/0.1691, allocations: 350 kB / 299.8 MB, free: 27.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008435/0.17, allocations: 0.5902 MB / 300.4 MB, free: 27.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.1715, allocations: 0.9369 MB / 301.3 MB, free: 26.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.1715, allocations: 1.125 kB / 301.3 MB, free: 26.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00285/0.1743, allocations: 1.408 MB / 302.7 MB, free: 25.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.1744, allocations: 10.7 kB / 302.8 MB, free: 25.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.1744, allocations: 4.125 kB / 302.8 MB, free: 25.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/0.176, allocations: 441.9 kB / 303.2 MB, free: 25.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/0.1768, allocations: 202.8 kB / 303.4 MB, free: 25.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006096/0.1829, allocations: 7.942 MB / 311.3 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007575/0.1837, allocations: 47.61 kB / 311.4 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.623e-05/0.1838, allocations: 47.06 kB / 311.4 MB, free: 18.91 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.0004096/0.1842, allocations: 261.7 kB / 311.7 MB, free: 18.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.1844, allocations: 111.5 kB / 311.8 MB, free: 18.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/0.1866, allocations: 1.285 MB / 313.1 MB, free: 17.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.1866, allocations: 16 kB / 313.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.1867, allocations: 4 kB / 313.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.1867, allocations: 7.172 kB / 313.1 MB, free: 17.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.1901, allocations: 2.205 MB / 315.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.1901, allocations: 0 / 315.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.1907, allocations: 151.8 kB / 315.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.1921, allocations: 420.1 kB / 315.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.62e-05/0.1921, allocations: 24 kB / 315.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00529/0.1974, allocations: 7.566 MB / 323.4 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1974, allocations: 4 kB / 323.5 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.2002, allocations: 1.842 MB / 325.3 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.2004, allocations: 139.5 kB / 325.4 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.2005, allocations: 39.92 kB / 325.5 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.2011, allocations: 39.98 kB / 325.5 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.2012, allocations: 96.72 kB / 325.6 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.625e-05/0.2013, allocations: 39.98 kB / 325.6 MB, free: 4.355 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002023/0.2015, allocations: 247.2 kB / 325.9 MB, free: 4.113 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2015, allocations: 0 / 325.9 MB, free: 4.113 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001108/0.2026, allocations: 312 kB / 326.2 MB, free: 3.809 MB / 266.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.0002564/0.2029, allocations: 191 kB / 326.4 MB, free: 3.621 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002253/0.2051, allocations: 1.552 MB / 327.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2051, allocations: 256 / 327.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.2064, allocations: 1.101 MB / 329 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000538/0.207, allocations: 83.47 kB / 329.1 MB, free: 0.793 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.2107, allocations: 1.887 MB / 331 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.2113, allocations: 432 kB / 331.4 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004514/0.2118, allocations: 97.92 kB / 331.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.212, allocations: 56.48 kB / 331.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.212, allocations: 0 / 331.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of Templates: time 0.02372/0.2357, allocations: 10.95 MB / 342.5 MB, free: 3.422 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.146315547986887]