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.001062/0.001062, 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.001564/0.001564, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.9743/0.9743, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2979/0.2979, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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 2.414e-06/2.414e-06, allocations: 0 / 378.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.934e-05, allocations: 5.266 kB / 378.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.002036/0.002055, allocations: 1.742 MB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001708/0.002226, allocations: 75.66 kB / 380.3 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.002282, allocations: 4 kB / 380.3 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.828e-05/0.002331, allocations: 15.86 kB / 380.3 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.137e-05/0.002392, allocations: 23.78 kB / 380.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.491e-05/0.002467, allocations: 23.97 kB / 380.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.456e-05/0.002561, allocations: 107.4 kB / 380.5 MB, free: 412 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.002687, allocations: 51.95 kB / 380.5 MB, free: 360 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.002743, allocations: 55.89 kB / 380.6 MB, free: 304 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.002821, allocations: 35.89 kB / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.002841, allocations: 8 kB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.002852, allocations: 12 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.386e-05/0.002876, allocations: 23.92 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.002911, allocations: 39.91 kB / 380.7 MB, free: 184 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.003014, allocations: 71.73 kB / 380.8 MB, free: 112 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003017, allocations: 4 kB / 380.8 MB, free: 108 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003017, allocations: 0 / 380.8 MB, free: 108 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.003021, allocations: 4 kB / 380.8 MB, free: 104 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.0003668/0.003388, allocations: 432.4 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.003425, allocations: 8.031 kB / 381.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.003459, allocations: 20.89 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.826e-05/0.003537, allocations: 116.5 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.003551, allocations: 8.609 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.003563, allocations: 12.38 kB / 381.3 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.003688, allocations: 115.1 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.003696, allocations: 4.188 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.003705, allocations: 4.375 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.003714, allocations: 12.36 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.129e-05/0.003755, allocations: 31.91 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.00429, allocations: 0.7887 MB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.004399, allocations: 269.4 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.004437, allocations: 126.9 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.00447, allocations: 123.2 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.522e-05/0.004526, allocations: 160.6 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.004527, allocations: 0 / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.293e-05/0.004579, allocations: 29.7 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.004643, allocations: 174.6 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.004751, allocations: 189.7 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.00476, allocations: 29.64 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.004834, allocations: 174.7 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-06/0.004837, allocations: 4 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.004866, allocations: 23.33 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.004999, allocations: 496.1 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.005008, allocations: 4 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.005048, allocations: 66.09 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.254e-05/0.005101, allocations: 62.06 kB / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005103, allocations: 0 / 384.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.865e-05/0.005202, allocations: 73.5 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.005215, allocations: 4.188 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.005221, allocations: 11.94 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.005233, allocations: 0 / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.005278, allocations: 8 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.005282, allocations: 4 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.005302, allocations: 3.953 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.005306, allocations: 4 kB / 384.3 MB, free: 12.29 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.461e-05/0.005401, allocations: 283.7 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.005451, allocations: 156.8 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.005e-05/0.005501, allocations: 152.4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.218e-05/0.005563, allocations: 268 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-05/0.005625, allocations: 276.1 kB / 385.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-05/0.005687, allocations: 264.1 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.005864, allocations: 0.4887 MB / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-05/0.005905, allocations: 148.9 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.005942, allocations: 148.8 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.785e-05/0.00601, allocations: 264.1 kB / 386.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/0.006084, allocations: 276 kB / 387 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-05/0.006157, allocations: 268 kB / 387.2 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.534e-05/0.006223, allocations: 264.4 kB / 387.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.006366, allocations: 448 kB / 387.9 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.006415, allocations: 168.8 kB / 388.1 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.006485, allocations: 276 kB / 388.4 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.895e-05/0.006544, allocations: 144.9 kB / 388.5 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.006613, allocations: 272 kB / 388.8 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.006648, allocations: 144.9 kB / 388.9 MB, free: 7.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.557e-05/0.006694, allocations: 139.1 kB / 389 MB, free: 7.344 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006694, allocations: 0 / 389 MB, free: 7.344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001463/0.00684, allocations: 19.95 kB / 389.1 MB, free: 7.324 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.084e-05/0.006931, allocations: 214.4 kB / 389.3 MB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.916e-05/0.00699, allocations: 27.61 kB / 389.3 MB, free: 7.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-06/0.006991, allocations: 0 / 389.3 MB, free: 7.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/0.006994, allocations: 3.938 kB / 389.3 MB, free: 7.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.007285, allocations: 0.7062 MB / 390 MB, free: 6.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.007546, allocations: 296.5 kB / 390.3 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.313e-05/0.00758, allocations: 59.34 kB / 390.4 MB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.217e-05/0.007602, allocations: 8.281 kB / 390.4 MB, free: 5.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.007634, allocations: 70.2 kB / 390.4 MB, free: 5.883 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.007635, allocations: 0 / 390.4 MB, free: 5.883 MB / 362.7 MB Notification: Performance of Templates: time 0.001845/0.00948, allocations: 309.6 kB / 390.7 MB, free: 5.582 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.1293157539330423]