Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 79.75 kB / 21.18 MB, free: 3.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009383/0.0009383, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9833/0.9833, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2706/0.2706, allocations: 34.26 MB / 295.7 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.93e-05, allocations: 8.141 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001908/0.001927, allocations: 1.746 MB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001416/0.002069, allocations: 71.72 kB / 379.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.625e-05/0.002115, allocations: 4 kB / 379.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.924e-05/0.002164, allocations: 19.84 kB / 379.8 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.00222, allocations: 23.78 kB / 379.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.678e-05/0.002296, allocations: 27.95 kB / 379.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.703e-05/0.002393, allocations: 115.2 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.00252, allocations: 39.97 kB / 380.1 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.429e-05/0.002575, allocations: 71.86 kB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.387e-05/0.002648, allocations: 27.91 kB / 380.1 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.002669, allocations: 8 kB / 380.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.002681, allocations: 12 kB / 380.2 MB, free: 496 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.002705, allocations: 31.91 kB / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.002739, allocations: 31.92 kB / 380.2 MB, free: 432 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.002845, allocations: 75.73 kB / 380.3 MB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.002848, allocations: 4 kB / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.002849, allocations: 0 / 380.3 MB, free: 352 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.002853, allocations: 0 / 380.3 MB, free: 352 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000352/0.003205, allocations: 428.5 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.003241, allocations: 8.031 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.00328, allocations: 20.89 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.731e-05/0.003358, allocations: 120.5 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.003371, allocations: 12.61 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.003387, allocations: 12.38 kB / 380.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.003526, allocations: 115.2 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.003535, allocations: 192 / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.003547, allocations: 4.375 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.003555, allocations: 4.375 kB / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.271e-05/0.003618, allocations: 46.59 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.004159, allocations: 0.8077 MB / 381.9 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.004237, allocations: 277.3 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/0.004269, allocations: 130.9 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.004293, allocations: 119.2 kB / 382.4 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.004331, allocations: 156.6 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.004332, allocations: 0 / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.028e-05/0.004382, allocations: 37.62 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.004429, allocations: 170.6 kB / 382.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.004526, allocations: 185.8 kB / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.004533, allocations: 25.7 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.004596, allocations: 178.7 kB / 383.1 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.004599, allocations: 4 kB / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.004626, allocations: 27.33 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.004728, allocations: 496.1 kB / 383.6 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.004741, allocations: 7.984 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.33e-05/0.004775, allocations: 58.12 kB / 383.7 MB, free: 12.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.189e-05/0.004827, allocations: 66 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.004829, allocations: 4 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001135/0.004942, allocations: 69.5 kB / 383.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.004958, allocations: 13.86 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.004963, allocations: 0 / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.00498, allocations: 4 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.005033, allocations: 8 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.005039, allocations: 0 / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.00506, allocations: 4 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.005065, allocations: 12.31 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.005293, allocations: 279.6 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.005339, allocations: 160.8 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.005383, allocations: 164.3 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.913e-05/0.005432, allocations: 268 kB / 384.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.061e-05/0.005483, allocations: 264.1 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-05/0.005534, allocations: 272 kB / 385.3 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.005688, allocations: 0.5038 MB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-05/0.005719, allocations: 152.8 kB / 385.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.005749, allocations: 152.8 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.967e-05/0.005799, allocations: 272.1 kB / 386.3 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/0.005854, allocations: 268 kB / 386.6 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.339e-05/0.005907, allocations: 264.1 kB / 386.8 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-05/0.005957, allocations: 272.2 kB / 387.1 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.006066, allocations: 448 kB / 387.5 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.006106, allocations: 160.7 kB / 387.7 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.006169, allocations: 264.1 kB / 388 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.628e-05/0.006226, allocations: 160.8 kB / 388.1 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.006283, allocations: 264.1 kB / 388.4 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.006316, allocations: 148.9 kB / 388.5 MB, free: 7.645 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.499e-05/0.00636, allocations: 135.1 kB / 388.7 MB, free: 7.512 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006361, allocations: 7.938 kB / 388.7 MB, free: 7.504 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001522/0.006513, allocations: 19.95 kB / 388.7 MB, free: 7.484 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.191e-05/0.006605, allocations: 214.4 kB / 388.9 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.858e-05/0.006693, allocations: 27.61 kB / 388.9 MB, free: 7.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.006695, allocations: 0 / 388.9 MB, free: 7.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.006696, allocations: 0 / 388.9 MB, free: 7.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.006987, allocations: 0.7062 MB / 389.6 MB, free: 6.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.007265, allocations: 300.9 kB / 389.9 MB, free: 6.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.621e-05/0.007301, allocations: 59.34 kB / 390 MB, free: 6.121 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.205e-05/0.007323, allocations: 3.984 kB / 390 MB, free: 6.117 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.007347, allocations: 12.5 kB / 390 MB, free: 6.105 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.007347, allocations: 0 / 390 MB, free: 6.105 MB / 362.7 MB Notification: Performance of Templates: time 0.001844/0.009192, allocations: 289.4 kB / 390.3 MB, free: 5.824 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.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.221245316322893]