Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.001029/0.001029, 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.001234/0.001234, allocations: 169.7 kB / 24.82 MB, free: 9.254 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.9656/0.9656, 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.2328/0.2328, allocations: 32.81 MB / 294.6 MB, free: 1.254 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.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 376.4 MB, free: 4.449 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.524e-05, allocations: 2.312 kB / 376.4 MB, free: 4.445 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.004624/0.004649, allocations: 0.5046 MB / 376.9 MB, free: 3.938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006005/0.01065, allocations: 2.102 MB / 379.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.01068, allocations: 0 / 379.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.01069, allocations: 3.938 kB / 379.1 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.111e-06/0.0107, allocations: 0 / 379.1 MB, free: 1.809 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.01254, allocations: 0.7557 MB / 379.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.25e-05/0.01259, allocations: 11.94 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.059e-05/0.01262, allocations: 0 / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.483e-05/0.01264, allocations: 0 / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.626e-05/0.01266, allocations: 7.984 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.01266, allocations: 0 / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00507/0.01773, allocations: 1.548 MB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.414e-06/0.01774, allocations: 0 / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.358e-05/0.01775, allocations: 0 / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.01965, allocations: 1.883 MB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.01966, allocations: 3.938 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01966, allocations: 4 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.01966, allocations: 0 / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000542/0.0202, allocations: 457.3 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.02024, allocations: 16.02 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.02027, allocations: 0.9375 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.479e-05/0.02033, allocations: 108.6 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.02034, allocations: 4.375 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-06/0.02035, allocations: 384 / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.576e-05/0.02043, allocations: 55.97 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.02043, allocations: 3.938 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-06/0.02044, allocations: 4 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.02044, allocations: 0 / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.226e-05/0.02047, allocations: 33.64 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.383e-05/0.02055, allocations: 97.25 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.02059, allocations: 48.77 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.02061, allocations: 37.48 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-06/0.02062, allocations: 0 / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.02066, allocations: 59.09 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.02066, allocations: 0 / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001632/0.02082, allocations: 122.9 kB / 384.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.02086, allocations: 92.98 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.826e-05/0.02091, allocations: 142.2 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.02092, allocations: 25.7 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.02096, allocations: 130.9 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.02097, allocations: 4.297 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.021, allocations: 19.38 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.02113, allocations: 496.1 kB / 385.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.02115, allocations: 25.7 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.491e-05/0.02116, allocations: 29.7 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.682e-05/0.02121, allocations: 67.16 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.02121, allocations: 0 / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.738e-05/0.02129, allocations: 93.03 kB / 385.4 MB, free: 11.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.02132, allocations: 33.7 kB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.02132, allocations: 0 / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.02133, allocations: 0 / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.02134, allocations: 0 / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.02134, allocations: 3.938 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.416e-05/0.02135, allocations: 0 / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.02136, allocations: 4 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.838e-05/0.02144, allocations: 182.3 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-06/0.02145, allocations: 4 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.258e-05/0.02146, allocations: 6.984 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.02146, allocations: 0 / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.02147, allocations: 7.938 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.02147, allocations: 0 / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.308e-05/0.02153, allocations: 93.27 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.02153, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.02153, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.02153, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-06/0.02154, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.02154, allocations: 4 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.02154, allocations: 0 / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.02165, allocations: 139.7 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.02166, allocations: 11.98 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.02167, allocations: 0 / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-06/0.02168, allocations: 0 / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-06/0.02169, allocations: 7.922 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.0217, allocations: 4 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.143e-05/0.02173, allocations: 119.2 kB / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02173, allocations: 0 / 386 MB, free: 10.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000762/0.02249, allocations: 291.5 kB / 386.3 MB, free: 10.19 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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001254/0.02374, allocations: 0.5227 MB / 386.8 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.02385, allocations: 126.4 kB / 386.9 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.02385, allocations: 0 / 386.9 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.188e-05/0.02389, allocations: 92.78 kB / 387 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001208/0.02401, allocations: 0 / 387 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001597/0.02417, allocations: 117.6 kB / 387.1 MB, free: 9.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.902e-05/0.0242, allocations: 51.36 kB / 387.2 MB, free: 9.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.869e-06/0.0242, allocations: 128 / 387.2 MB, free: 9.195 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.02424, allocations: 74.2 kB / 387.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02424, allocations: 4 kB / 387.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of Templates: time 0.01316/0.0374, allocations: 9.75 MB / 397 MB, free: 15.35 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/TestMatrices2b/TestMatrices2b.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: 4.463909320067614]