Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009495/0.0009495, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001202/0.001202, allocations: 161 kB / 24.56 MB, free: 16 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 1.031/1.031, allocations: 177.2 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2776/0.2776, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.893e-05, allocations: 10.25 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002309/0.002338, allocations: 1.746 MB / 377.7 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001793/0.002517, allocations: 79.66 kB / 377.8 MB, free: 2.836 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.002569, allocations: 4 kB / 377.8 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.08e-05/0.00263, allocations: 11.86 kB / 377.8 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.002698, allocations: 23.78 kB / 377.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.615e-05/0.002775, allocations: 23.97 kB / 377.9 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.002881, allocations: 119.3 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.003014, allocations: 35.97 kB / 378 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.987e-05/0.003074, allocations: 63.89 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.015e-05/0.003164, allocations: 31.89 kB / 378.1 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.003187, allocations: 12 kB / 378.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.0032, allocations: 15.94 kB / 378.2 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.003226, allocations: 23.92 kB / 378.2 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.003264, allocations: 35.91 kB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.003385, allocations: 79.73 kB / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003387, allocations: 0 / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003388, allocations: 0 / 378.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.003392, allocations: 0 / 378.3 MB, free: 2.363 MB / 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.000383/0.003775, allocations: 424.5 kB / 378.7 MB, free: 1.906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.003812, allocations: 8.031 kB / 378.7 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.003852, allocations: 20.89 kB / 378.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.121e-05/0.003943, allocations: 128.4 kB / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.003959, allocations: 12.61 kB / 378.9 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.003975, allocations: 12.38 kB / 378.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.004126, allocations: 119.2 kB / 379 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.004138, allocations: 192 / 379 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.004148, allocations: 384 / 379 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.004159, allocations: 4.375 kB / 379 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.748e-05/0.004226, allocations: 55.03 kB / 379.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006888/0.004915, allocations: 0.8116 MB / 379.9 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.48e-05/0.005, allocations: 277.3 kB / 380.1 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.005035, allocations: 126.9 kB / 380.3 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.005061, allocations: 119.2 kB / 380.4 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.005115, allocations: 160.6 kB / 380.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.005116, allocations: 0 / 380.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.434e-05/0.00517, allocations: 25.7 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.005217, allocations: 174.5 kB / 380.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.005321, allocations: 189.8 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.005331, allocations: 25.7 kB / 380.9 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.459e-05/0.005395, allocations: 174.7 kB / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.005398, allocations: 0 / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.005428, allocations: 31.33 kB / 381.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.005534, allocations: 0.4884 MB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.005547, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-05/0.005582, allocations: 62.11 kB / 381.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.422e-05/0.005636, allocations: 66.06 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.005639, allocations: 0 / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001178/0.005756, allocations: 73.44 kB / 381.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.005771, allocations: 8 kB / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.005776, allocations: 0 / 381.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.005794, allocations: 4 kB / 381.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.005857, allocations: 8 kB / 381.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.005865, allocations: 4.172 kB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.00589, allocations: 12 kB / 381.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.005896, allocations: 4 kB / 381.9 MB, free: 14.5 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 9.561e-05/0.005991, allocations: 279.6 kB / 382.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.006045, allocations: 156.8 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.006096, allocations: 156.4 kB / 382.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.57e-05/0.006162, allocations: 272 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.024e-05/0.006222, allocations: 264.1 kB / 383 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.156e-05/0.006284, allocations: 272 kB / 383.2 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.006469, allocations: 0.5077 MB / 383.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.553e-05/0.006504, allocations: 144.9 kB / 383.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.00654, allocations: 156.8 kB / 384 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.089e-05/0.006601, allocations: 272 kB / 384.3 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/0.006662, allocations: 272 kB / 384.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.175e-05/0.006724, allocations: 272.2 kB / 384.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.769e-05/0.006782, allocations: 264.3 kB / 385.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.006913, allocations: 448 kB / 385.5 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.006963, allocations: 164.7 kB / 385.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.714e-05/0.007031, allocations: 264.1 kB / 385.9 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.327e-05/0.007094, allocations: 152.9 kB / 386.1 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.007162, allocations: 272 kB / 386.4 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.007283, allocations: 144.9 kB / 386.5 MB, free: 9.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.744e-05/0.007331, allocations: 135.2 kB / 386.6 MB, free: 9.527 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007331, allocations: 4 kB / 386.6 MB, free: 9.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001541/0.007485, allocations: 19.95 kB / 386.7 MB, free: 9.504 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 0.0001017/0.007587, allocations: 214.4 kB / 386.9 MB, free: 9.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.994e-05/0.007667, allocations: 27.61 kB / 386.9 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007668, allocations: 0 / 386.9 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.007669, allocations: 0 / 386.9 MB, free: 9.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.007976, allocations: 0.7065 MB / 387.6 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.008339, allocations: 304.5 kB / 387.9 MB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.524e-05/0.008384, allocations: 59.34 kB / 388 MB, free: 8.137 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.432e-05/0.008408, allocations: 0 / 388 MB, free: 8.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.008435, allocations: 12.5 kB / 388 MB, free: 8.125 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.008436, allocations: 0 / 388 MB, free: 8.125 MB / 362.7 MB Notification: Performance of Templates: time 0.001941/0.01038, allocations: 281.6 kB / 388.2 MB, free: 7.852 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.166836017742753]