Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.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.001947/0.001947, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.002431/0.002431, allocations: 157.6 kB / 23.52 MB, free: 0.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2169/0.2169, allocations: 32.38 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.936e-05, allocations: 2.312 kB / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001354/0.001384, allocations: 0.4986 MB / 347.4 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.003504, allocations: 1.909 MB / 349.3 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.003521, allocations: 0 / 349.3 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.003533, allocations: 3.938 kB / 349.3 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.202e-06/0.003539, allocations: 0 / 349.3 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.005452, allocations: 0.7703 MB / 350.1 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.028e-05/0.005512, allocations: 7.984 kB / 350.1 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.041e-05/0.005543, allocations: 0 / 350.1 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.644e-05/0.005569, allocations: 4 kB / 350.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.826e-05/0.005587, allocations: 0 / 350.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.943e-06/0.005594, allocations: 0 / 350.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009207/0.006515, allocations: 0.7111 MB / 350.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.819e-06/0.006525, allocations: 0 / 350.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.00655, allocations: 0 / 350.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.007143, allocations: 0.6662 MB / 351.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.007145, allocations: 0 / 351.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.007146, allocations: 4 kB / 351.5 MB, free: 5.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.00715, allocations: 0 / 351.5 MB, free: 5.23 MB / 282.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.0003314/0.007481, allocations: 331.5 kB / 351.8 MB, free: 4.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.007512, allocations: 8.031 kB / 351.8 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.007558, allocations: 0.9375 kB / 351.8 MB, free: 4.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.374e-05/0.007601, allocations: 105.8 kB / 351.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.007614, allocations: 384 / 351.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.007624, allocations: 16.3 kB / 351.9 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.493e-05/0.007699, allocations: 55.97 kB / 352 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.007707, allocations: 192 / 352 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.007715, allocations: 384 / 352 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.00772, allocations: 7.938 kB / 352 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.41e-05/0.007744, allocations: 33.64 kB / 352 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.566e-05/0.00782, allocations: 93.33 kB / 352.1 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.391e-05/0.007864, allocations: 48.3 kB / 352.2 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.00788, allocations: 34.56 kB / 352.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-06/0.00789, allocations: 0 / 352.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.007921, allocations: 60.33 kB / 352.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.007922, allocations: 0 / 352.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001767/0.008099, allocations: 118.7 kB / 352.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.008127, allocations: 85.17 kB / 352.5 MB, free: 4.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.095e-05/0.008148, allocations: 93.86 kB / 352.6 MB, free: 3.961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.008154, allocations: 25.7 kB / 352.6 MB, free: 3.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.231e-05/0.008166, allocations: 84.12 kB / 352.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.008181, allocations: 4 kB / 352.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.008203, allocations: 9.719 kB / 352.7 MB, free: 3.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.008248, allocations: 310.8 kB / 353 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.008261, allocations: 29.7 kB / 353 MB, free: 3.477 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/0.00827, allocations: 29.69 kB / 353 MB, free: 3.441 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.008306, allocations: 64.27 kB / 353.1 MB, free: 3.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.008307, allocations: 4.062 kB / 353.1 MB, free: 3.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.96e-05/0.008377, allocations: 93 kB / 353.2 MB, free: 3.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.0084, allocations: 33.69 kB / 353.2 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.008405, allocations: 0 / 353.2 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.008423, allocations: 4 kB / 353.2 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.724e-06/0.008425, allocations: 3.984 kB / 353.2 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.00843, allocations: 3.938 kB / 353.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.008444, allocations: 0 / 353.2 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.008451, allocations: 0 / 353.2 MB, free: 3.199 MB / 282.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 4.777e-05/0.008498, allocations: 139.5 kB / 353.4 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-06/0.008507, allocations: 4.031 kB / 353.4 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.037e-06/0.008516, allocations: 3 kB / 353.4 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.008517, allocations: 0 / 353.4 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.00852, allocations: 7.938 kB / 353.4 MB, free: 3.031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.008524, allocations: 7.922 kB / 353.4 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.907e-05/0.008563, allocations: 93.33 kB / 353.5 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.008563, allocations: 0 / 353.5 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.008564, allocations: 0 / 353.5 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.008565, allocations: 0 / 353.5 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.008572, allocations: 4 kB / 353.5 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.008573, allocations: 3.938 kB / 353.5 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008574, allocations: 4 kB / 353.5 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.848e-05/0.008642, allocations: 120.5 kB / 353.6 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-06/0.008646, allocations: 0 / 353.6 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.008658, allocations: 8 kB / 353.6 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-06/0.008667, allocations: 0 / 353.6 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.008683, allocations: 0 / 353.6 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.008685, allocations: 0 / 353.6 MB, free: 2.734 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.339e-05/0.008699, allocations: 83.2 kB / 353.7 MB, free: 2.652 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008699, allocations: 0 / 353.7 MB, free: 2.652 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004164/0.009115, allocations: 135.7 kB / 353.8 MB, free: 2.52 MB / 282.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.0006905/0.009806, allocations: 284.9 kB / 354.1 MB, free: 2.242 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.531e-05/0.009901, allocations: 110.8 kB / 354.2 MB, free: 2.109 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009903, allocations: 0 / 354.2 MB, free: 2.109 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.00993, allocations: 93.03 kB / 354.3 MB, free: 2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.01006, allocations: 8 kB / 354.3 MB, free: 1.992 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.01025, allocations: 104 kB / 354.4 MB, free: 1.859 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.959e-05/0.01028, allocations: 55.34 kB / 354.5 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.811e-06/0.01029, allocations: 8.125 kB / 354.5 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.041e-05/0.0103, allocations: 8.5 kB / 354.5 MB, free: 1.77 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.0103, allocations: 0 / 354.5 MB, free: 1.77 MB / 282.7 MB Notification: Performance of Templates: time 0.007656/0.01795, allocations: 3.931 MB / 358.4 MB, free: 13.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0237264790339395]