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.000776/0.000776, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.0009769/0.0009769, allocations: 165.3 kB / 23.8 MB, free: 0.7773 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.024/1.024, allocations: 158.6 MB / 185.7 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] 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.1362/0.1362, allocations: 32.37 MB / 270.4 MB, free: 14.71 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 2.525e-06/2.525e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.418e-05, allocations: 6.25 kB / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001236/0.00127, allocations: 0.518 MB / 348.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.003612, allocations: 1.961 MB / 350.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.003632, allocations: 0 / 350.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.003651, allocations: 0 / 350.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.003658, allocations: 0 / 350.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.005506, allocations: 0.7781 MB / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.005565, allocations: 0 / 350.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.005605, allocations: 4 kB / 350.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.958e-05/0.005635, allocations: 3.984 kB / 350.9 MB, free: 6.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.939e-05/0.005654, allocations: 8 kB / 350.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.573e-06/0.005661, allocations: 0 / 350.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000904/0.006565, allocations: 0.7094 MB / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.006576, allocations: 0 / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.006597, allocations: 0 / 351.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005887/0.007186, allocations: 0.6702 MB / 352.3 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.00719, allocations: 4 kB / 352.3 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.001e-06/0.007191, allocations: 0 / 352.3 MB, free: 4.785 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.007197, allocations: 4 kB / 352.3 MB, free: 4.781 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.0003269/0.007524, allocations: 433.4 kB / 352.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.007566, allocations: 12.03 kB / 352.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.478e-05/0.007611, allocations: 0.9375 kB / 352.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.219e-05/0.007653, allocations: 108.6 kB / 352.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.007664, allocations: 384 / 352.9 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.007674, allocations: 4.375 kB / 352.9 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.294e-05/0.007767, allocations: 55.95 kB / 352.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.007773, allocations: 192 / 352.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.007783, allocations: 384 / 352.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.007791, allocations: 7.938 kB / 352.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.754e-05/0.007809, allocations: 29.7 kB / 352.9 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.384e-05/0.007893, allocations: 104.6 kB / 353.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.65e-05/0.007939, allocations: 60.73 kB / 353.1 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.684e-05/0.007956, allocations: 33.39 kB / 353.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-06/0.007961, allocations: 8.047 kB / 353.2 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.007992, allocations: 59.09 kB / 353.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.007994, allocations: 0 / 353.2 MB, free: 3.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001969/0.008191, allocations: 114.8 kB / 353.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.008224, allocations: 85.03 kB / 353.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.558e-05/0.00825, allocations: 150.4 kB / 353.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.008256, allocations: 25.7 kB / 353.6 MB, free: 3.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.225e-05/0.008268, allocations: 130.8 kB / 353.7 MB, free: 3.156 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.008289, allocations: 4.297 kB / 353.7 MB, free: 3.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.008311, allocations: 19.38 kB / 353.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.012e-05/0.008361, allocations: 492.1 kB / 354.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.008378, allocations: 25.7 kB / 354.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.164e-05/0.00839, allocations: 29.7 kB / 354.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.907e-05/0.008429, allocations: 67.08 kB / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.008431, allocations: 0 / 354.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.13e-05/0.008483, allocations: 89.17 kB / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.00851, allocations: 33.7 kB / 354.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.008515, allocations: 0 / 354.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.008527, allocations: 0 / 354.4 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-06/0.008531, allocations: 7.922 kB / 354.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.008538, allocations: 11.86 kB / 354.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.008553, allocations: 0 / 354.5 MB, free: 2.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.00856, allocations: 0 / 354.5 MB, free: 2.32 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.723e-05/0.008607, allocations: 186.3 kB / 354.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-06/0.008612, allocations: 4 kB / 354.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.047e-05/0.008623, allocations: 7.031 kB / 354.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.008624, allocations: 0 / 354.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.008627, allocations: 0 / 354.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.00863, allocations: 3.938 kB / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.921e-05/0.00867, allocations: 108.6 kB / 354.8 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.00867, allocations: 4 kB / 354.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-06/0.008672, allocations: 4 kB / 354.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.008673, allocations: 0 / 354.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.00868, allocations: 0 / 354.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.5e-07/0.008681, allocations: 0 / 354.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008681, allocations: 0 / 354.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.465e-05/0.008746, allocations: 139.7 kB / 354.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-06/0.008751, allocations: 4 kB / 354.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.008767, allocations: 0 / 354.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.95e-06/0.008772, allocations: 0 / 354.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.008785, allocations: 0 / 354.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.008788, allocations: 4 kB / 354.9 MB, free: 1.777 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.515e-05/0.008803, allocations: 123.1 kB / 355 MB, free: 1.656 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008803, allocations: 0 / 355 MB, free: 1.656 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003432/0.009146, allocations: 135.7 kB / 355.2 MB, free: 1.523 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.0006195/0.009766, allocations: 284.5 kB / 355.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.009874, allocations: 118.5 kB / 355.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009876, allocations: 0 / 355.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.814e-05/0.009894, allocations: 92.78 kB / 355.7 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.01, allocations: 0 / 355.7 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.01023, allocations: 117.6 kB / 355.8 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.404e-05/0.01027, allocations: 55.36 kB / 355.8 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.402e-06/0.01027, allocations: 128 / 355.8 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/0.01029, allocations: 12.5 kB / 355.8 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01029, allocations: 0 / 355.8 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of Templates: time 0.006587/0.01688, allocations: 4.759 MB / 360.6 MB, free: 11.99 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 240] 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","",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.340730216819793]