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.001349/0.001349, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00152/0.00152, allocations: 170 kB / 24.82 MB, free: 9.273 MB / 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.992/0.992, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.243/0.243, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.713e-06/1.713e-06, allocations: 0 / 376.4 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.966e-05, allocations: 6.25 kB / 376.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.001809/0.001828, allocations: 1.742 MB / 378.2 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001344/0.001963, allocations: 79.66 kB / 378.3 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.002008, allocations: 4 kB / 378.3 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.002051, allocations: 11.86 kB / 378.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.314e-05/0.002104, allocations: 23.78 kB / 378.3 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.026e-05/0.002174, allocations: 23.97 kB / 378.3 MB, free: 2.531 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 8.916e-05/0.002263, allocations: 119.3 kB / 378.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.002377, allocations: 31.98 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.558e-05/0.002432, allocations: 67.81 kB / 378.5 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.002512, allocations: 39.89 kB / 378.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.002532, allocations: 12 kB / 378.6 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.002544, allocations: 8 kB / 378.6 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.002567, allocations: 19.92 kB / 378.6 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.002601, allocations: 39.91 kB / 378.7 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.002708, allocations: 75.73 kB / 378.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.002711, allocations: 4 kB / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.002712, allocations: 0 / 378.7 MB, free: 2.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.002715, allocations: 0 / 378.7 MB, free: 2.121 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.0003373/0.003052, allocations: 424.5 kB / 379.2 MB, free: 1.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.003088, allocations: 12.03 kB / 379.2 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.003124, allocations: 20.89 kB / 379.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.582e-05/0.0032, allocations: 128.4 kB / 379.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.003213, allocations: 8.609 kB / 379.3 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.003224, allocations: 12.38 kB / 379.3 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.003338, allocations: 103.2 kB / 379.4 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.003345, allocations: 192 / 379.4 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.003353, allocations: 4.375 kB / 379.4 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.00336, allocations: 4.375 kB / 379.4 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.042e-05/0.0034, allocations: 39.78 kB / 379.5 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.003847, allocations: 0.7927 MB / 380.3 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.689e-05/0.003914, allocations: 265.4 kB / 380.5 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.003942, allocations: 126.9 kB / 380.7 MB, free: 60 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.003974, allocations: 123.2 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.004014, allocations: 168.6 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.004015, allocations: 0 / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 4.513e-05/0.00406, allocations: 29.64 kB / 381 MB, free: 15.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.004113, allocations: 178.6 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.031e-05/0.004193, allocations: 181.8 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.004199, allocations: 29.7 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.004255, allocations: 174.7 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.004257, allocations: 0 / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.004283, allocations: 31.31 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.004377, allocations: 496.1 kB / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-06/0.004383, allocations: 0 / 382 MB, free: 14.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.004413, allocations: 62.09 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.004459, allocations: 70 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004461, allocations: 0 / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.031e-05/0.004541, allocations: 73.48 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/0.004551, allocations: 4 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.004556, allocations: 4 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.004566, allocations: 0 / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.021e-05/0.004606, allocations: 12.17 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.00461, allocations: 8 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.004631, allocations: 4 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.004635, allocations: 4 kB / 382.3 MB, free: 14.3 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 7.368e-05/0.004709, allocations: 283.6 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.00475, allocations: 156.8 kB / 382.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.004787, allocations: 152.3 kB / 382.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.916e-05/0.004837, allocations: 268 kB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.933e-05/0.004886, allocations: 272.1 kB / 383.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.107e-05/0.004937, allocations: 268 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.005093, allocations: 496.5 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.862e-05/0.005121, allocations: 148.9 kB / 384.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.00515, allocations: 152.8 kB / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.876e-05/0.005199, allocations: 272 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.00525, allocations: 272 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-05/0.0053, allocations: 268.1 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.144e-05/0.005351, allocations: 272.2 kB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.005452, allocations: 444 kB / 385.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.005489, allocations: 156.8 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.005544, allocations: 272 kB / 386.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.327e-05/0.005597, allocations: 149 kB / 386.5 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.282e-05/0.00565, allocations: 280.1 kB / 386.8 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.005678, allocations: 148.9 kB / 386.9 MB, free: 9.492 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.747e-05/0.005716, allocations: 135.2 kB / 387 MB, free: 9.359 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005716, allocations: 3.938 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001481/0.005864, allocations: 15.95 kB / 387.1 MB, free: 9.34 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 7.894e-05/0.005943, allocations: 214.4 kB / 387.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.553e-05/0.005998, allocations: 23.62 kB / 387.3 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006, allocations: 0 / 387.3 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.006, allocations: 384 / 387.3 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.00626, allocations: 0.7101 MB / 388 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.006486, allocations: 296.5 kB / 388.3 MB, free: 8.059 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.875e-05/0.006514, allocations: 59.34 kB / 388.3 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.791e-05/0.006532, allocations: 4 kB / 388.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.00656, allocations: 66.2 kB / 388.4 MB, free: 7.91 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.00656, allocations: 0 / 388.4 MB, free: 7.91 MB / 362.7 MB Notification: Performance of Templates: time 0.001489/0.008049, allocations: 308.6 kB / 388.7 MB, free: 7.613 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: 2.8829533010721207]