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.001483/0.001483, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001968/0.001968, allocations: 165.1 kB / 25.61 MB, free: 8.887 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.9387/0.9387, allocations: 177.1 MB / 206.1 MB, free: 4.523 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.1627/0.1627, allocations: 32.79 MB / 295.4 MB, free: 15.41 MB / 282.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.714e-06/1.714e-06, allocations: 0 / 377.2 MB, free: 25.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.518e-05, allocations: 2.312 kB / 377.2 MB, free: 25.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002054/0.002079, allocations: 1.748 MB / 379 MB, free: 23.91 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001698/0.002249, allocations: 71.72 kB / 379 MB, free: 23.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.983e-05/0.002299, allocations: 4 kB / 379.1 MB, free: 23.83 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 4.934e-05/0.002348, allocations: 19.84 kB / 379.1 MB, free: 23.81 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/0.002407, allocations: 19.73 kB / 379.1 MB, free: 23.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.625e-05/0.002484, allocations: 27.95 kB / 379.1 MB, free: 23.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.195e-05/0.002566, allocations: 107.5 kB / 379.2 MB, free: 23.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.002695, allocations: 39.91 kB / 379.3 MB, free: 23.62 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.182e-05/0.002747, allocations: 59.89 kB / 379.3 MB, free: 23.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.963e-05/0.002826, allocations: 39.89 kB / 379.4 MB, free: 23.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.00285, allocations: 12 kB / 379.4 MB, free: 23.51 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.002859, allocations: 8 kB / 379.4 MB, free: 23.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.002881, allocations: 23.91 kB / 379.4 MB, free: 23.48 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.002909, allocations: 35.92 kB / 379.4 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.003017, allocations: 75.73 kB / 379.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.00302, allocations: 0 / 379.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.003021, allocations: 0 / 379.5 MB, free: 23.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.003025, allocations: 0 / 379.5 MB, free: 23.37 MB / 314.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.0003265/0.003352, allocations: 432.5 kB / 379.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.003386, allocations: 15.98 kB / 379.9 MB, free: 22.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.003419, allocations: 20.89 kB / 380 MB, free: 22.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.801e-05/0.003487, allocations: 120.5 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.0035, allocations: 8.609 kB / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.003511, allocations: 8.375 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.003616, allocations: 103.2 kB / 380.2 MB, free: 22.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.003625, allocations: 192 / 380.2 MB, free: 22.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.003634, allocations: 4.375 kB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.003641, allocations: 12.3 kB / 380.2 MB, free: 22.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.765e-05/0.003679, allocations: 31.92 kB / 380.3 MB, free: 22.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.004111, allocations: 0.8003 MB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.266e-05/0.004164, allocations: 265.4 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.004178, allocations: 126.9 kB / 381.4 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.004192, allocations: 123.1 kB / 381.6 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.004216, allocations: 160.6 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.004217, allocations: 3.938 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 5.682e-05/0.004274, allocations: 33.66 kB / 381.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.004313, allocations: 178.6 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.004388, allocations: 173.9 kB / 382.1 MB, free: 20.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.937e-06/0.004392, allocations: 25.7 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.004441, allocations: 186.6 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.004443, allocations: 0 / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.00447, allocations: 23.38 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.561e-05/0.004516, allocations: 0.4922 MB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-06/0.004524, allocations: 0 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.149e-05/0.004545, allocations: 62.05 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.004585, allocations: 66.06 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.004588, allocations: 0 / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.068e-05/0.004678, allocations: 73.45 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.004692, allocations: 6.344 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.004698, allocations: 4 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.004709, allocations: 192 / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.386e-05/0.004763, allocations: 15.98 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.004767, allocations: 7.938 kB / 383 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.004791, allocations: 0 / 383 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.004794, allocations: 4 kB / 383 MB, free: 19.55 MB / 314.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 5.13e-05/0.004846, allocations: 283.8 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.004872, allocations: 152.8 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.004897, allocations: 160.3 kB / 383.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.00492, allocations: 264.1 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/0.004943, allocations: 272 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.004966, allocations: 268.1 kB / 384.4 MB, free: 18.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.005078, allocations: 496.5 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.005093, allocations: 148.8 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.248e-05/0.005105, allocations: 148.9 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.199e-05/0.005127, allocations: 272 kB / 385.5 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.00515, allocations: 272 kB / 385.7 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.202e-05/0.005172, allocations: 264.1 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.399e-05/0.005196, allocations: 272 kB / 386.2 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.529e-05/0.005262, allocations: 452.2 kB / 386.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.005288, allocations: 152.8 kB / 386.8 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.005318, allocations: 268.1 kB / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.048e-05/0.005359, allocations: 160.8 kB / 387.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.005384, allocations: 276 kB / 387.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.005398, allocations: 152.8 kB / 387.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.155e-05/0.005429, allocations: 131.2 kB / 387.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005429, allocations: 0 / 387.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.005592, allocations: 19.89 kB / 387.8 MB, free: 14.58 MB / 314.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 8.766e-05/0.00568, allocations: 214.4 kB / 388 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.434e-05/0.005754, allocations: 23.56 kB / 388.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.005756, allocations: 384 / 388.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.005758, allocations: 4 kB / 388.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.005957, allocations: 0.7101 MB / 388.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.006197, allocations: 286.5 kB / 389 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.427e-05/0.006222, allocations: 65.58 kB / 389.1 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.251e-05/0.006244, allocations: 4 kB / 389.1 MB, free: 13.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.006268, allocations: 66.2 kB / 389.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.006269, allocations: 0 / 389.2 MB, free: 13.16 MB / 314.7 MB Notification: Performance of Templates: time 0.001717/0.007986, allocations: 306.1 kB / 389.5 MB, free: 12.86 MB / 314.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.192733757663518]