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.001359/0.001359, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001669/0.001669, 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 1.006/1.006, allocations: 177.1 MB / 205 MB, free: 5.609 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.2735/0.2735, allocations: 34.26 MB / 295.7 MB, free: 0.7578 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.643e-06/1.643e-06, allocations: 0 / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.586e-05, allocations: 5.828 kB / 378 MB, free: 2.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.00219/0.002216, allocations: 1.761 MB / 379.8 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002055/0.002422, allocations: 71.72 kB / 379.8 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.002482, allocations: 7.938 kB / 379.8 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.955e-05/0.002552, allocations: 23.78 kB / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.002617, allocations: 23.8 kB / 379.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.339e-05/0.002711, allocations: 27.95 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.002824, allocations: 111.3 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.003003, allocations: 43.97 kB / 380.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.427e-05/0.003067, allocations: 59.89 kB / 380.1 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.839e-05/0.003155, allocations: 31.89 kB / 380.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.00318, allocations: 12 kB / 380.2 MB, free: 496 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.003192, allocations: 8 kB / 380.2 MB, free: 488 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.003216, allocations: 27.91 kB / 380.2 MB, free: 460 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.003252, allocations: 35.92 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.003369, allocations: 75.8 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003372, allocations: 0 / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003373, allocations: 3.938 kB / 380.3 MB, free: 344 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.003378, allocations: 0 / 380.3 MB, free: 344 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.0004045/0.003782, allocations: 424.5 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.003826, allocations: 8.031 kB / 380.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.003871, allocations: 20.89 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.719e-05/0.003968, allocations: 124.4 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.003983, allocations: 8.609 kB / 380.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.003997, allocations: 12.38 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.004153, allocations: 123.2 kB / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.004163, allocations: 192 / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.004177, allocations: 8.359 kB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.004186, allocations: 4.375 kB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.529e-05/0.004251, allocations: 38.8 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00064/0.004891, allocations: 0.8154 MB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.77e-05/0.004989, allocations: 269.4 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.005028, allocations: 126.9 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.005059, allocations: 127.2 kB / 382.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/0.005114, allocations: 164.5 kB / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.492e-06/0.005116, allocations: 0 / 382.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.265e-05/0.005178, allocations: 25.7 kB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.005238, allocations: 170.6 kB / 382.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.00535, allocations: 189.8 kB / 382.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.005359, allocations: 25.7 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/0.005436, allocations: 174.7 kB / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-06/0.005439, allocations: 0 / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.005475, allocations: 31.31 kB / 383.2 MB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.005597, allocations: 496.1 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/0.005611, allocations: 4 kB / 383.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.005645, allocations: 66.05 kB / 383.7 MB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.005702, allocations: 62.06 kB / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.005705, allocations: 0 / 383.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000115/0.00582, allocations: 77.5 kB / 383.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.005834, allocations: 8 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.005839, allocations: 0 / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.005854, allocations: 4 kB / 383.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.005914, allocations: 15.92 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.005919, allocations: 3.938 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.005943, allocations: 4 kB / 383.9 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.005948, allocations: 4.125 kB / 383.9 MB, free: 12.47 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 8.213e-05/0.00603, allocations: 279.9 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.006079, allocations: 164.7 kB / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.006122, allocations: 160.3 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-05/0.006175, allocations: 264.1 kB / 384.7 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.533e-05/0.00623, allocations: 268 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.692e-05/0.006287, allocations: 268.1 kB / 385.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.006466, allocations: 0.5154 MB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.716e-05/0.006514, allocations: 144.9 kB / 385.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.006551, allocations: 148.8 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.184e-05/0.006613, allocations: 276 kB / 386.3 MB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.006668, allocations: 264.1 kB / 386.6 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.666e-05/0.006725, allocations: 272 kB / 386.9 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.718e-05/0.006782, allocations: 272.3 kB / 387.1 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.006908, allocations: 448 kB / 387.6 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.006958, allocations: 156.8 kB / 387.7 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.007027, allocations: 272 kB / 388 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.845e-05/0.007085, allocations: 152.9 kB / 388.1 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.007146, allocations: 264.1 kB / 388.4 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.007181, allocations: 152.8 kB / 388.5 MB, free: 7.629 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.58e-05/0.007227, allocations: 131.2 kB / 388.7 MB, free: 7.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007227, allocations: 4 kB / 388.7 MB, free: 7.496 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001584/0.007385, allocations: 15.95 kB / 388.7 MB, free: 7.48 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.0001025/0.007488, allocations: 218.4 kB / 388.9 MB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.929e-05/0.007577, allocations: 27.62 kB / 388.9 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.007579, allocations: 0 / 388.9 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.00758, allocations: 0 / 388.9 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.007886, allocations: 0.7023 MB / 389.6 MB, free: 6.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.008282, allocations: 304.8 kB / 389.9 MB, free: 6.191 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.333e-05/0.008325, allocations: 63.34 kB / 390 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.568e-05/0.008351, allocations: 0 / 390 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.008378, allocations: 12.5 kB / 390 MB, free: 6.098 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/0.00838, allocations: 0 / 390 MB, free: 6.098 MB / 362.7 MB Notification: Performance of Templates: time 0.001988/0.01037, allocations: 305.4 kB / 390.3 MB, free: 5.801 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.061810353770852]