Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001757/0.001757, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.00208/0.00208, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.562/1.562, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.2361/0.2361, allocations: 46.95 MB / 360.9 MB, free: 4.043 MB / 286.1 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.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 72.03 kB / 0.4966 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3903, allocations: 66.03 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001736/0.392, allocations: 0.5009 MB / 0.5615 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.3936, allocations: 0.7237 MB / 0.5623 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.3936, allocations: 0 / 0.5623 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.3937, allocations: 0 / 0.5623 GB, free: 2.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.975e-06/0.3937, allocations: 4 kB / 0.5623 GB, free: 2.941 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.3957, allocations: 0.634 MB / 0.5629 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.342e-05/0.3958, allocations: 3.984 kB / 0.5629 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.167e-05/0.3958, allocations: 8 kB / 0.5629 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.819e-05/0.3958, allocations: 0 / 0.5629 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.56e-05/0.3959, allocations: 3.984 kB / 0.5629 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.333e-06/0.3959, allocations: 0 / 0.5629 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008426/0.3967, allocations: 407.2 kB / 0.5633 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.3967, allocations: 0 / 0.5633 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.3968, allocations: 0 / 0.5633 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005325/0.3973, allocations: 345.5 kB / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3973, allocations: 0 / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3973, allocations: 0 / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3973, allocations: 4 kB / 0.5636 GB, free: 1.559 MB / 398.1 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.0004443/0.3977, allocations: 319.5 kB / 0.5639 GB, free: 1.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3978, allocations: 12.03 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.3978, allocations: 0.9375 kB / 0.5639 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3979, allocations: 103.6 kB / 0.564 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.3979, allocations: 384 / 0.564 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.398, allocations: 8.312 kB / 0.564 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.3981, allocations: 55.97 kB / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3981, allocations: 192 / 0.5641 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3981, allocations: 3.938 kB / 0.5641 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3981, allocations: 4 kB / 0.5641 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.544e-05/0.3981, allocations: 33.69 kB / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001253/0.3983, allocations: 93.33 kB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.6e-05/0.3983, allocations: 44.31 kB / 0.5643 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.3984, allocations: 38.5 kB / 0.5643 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.3984, allocations: 4.062 kB / 0.5643 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.3984, allocations: 56.27 kB / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3984, allocations: 0 / 0.5644 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002241/0.3987, allocations: 118.7 kB / 0.5645 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.3987, allocations: 81.11 kB / 0.5645 GB, free: 420 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.36e-05/0.3988, allocations: 97.94 kB / 0.5646 GB, free: 312 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3988, allocations: 29.7 kB / 0.5647 GB, free: 276 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.3988, allocations: 80.14 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.3988, allocations: 0 / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.3989, allocations: 13.7 kB / 0.5648 GB, free: 172 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.399, allocations: 318.8 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/0.3991, allocations: 29.64 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-05/0.3991, allocations: 29.7 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/0.3991, allocations: 60.27 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3991, allocations: 0 / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9e-05/0.3992, allocations: 93.16 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.3993, allocations: 29.7 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.3993, allocations: 4 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3993, allocations: 3.938 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-06/0.3993, allocations: 3.938 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3993, allocations: 0 / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.3993, allocations: 0 / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3993, allocations: 4 kB / 0.5653 GB, free: 15.54 MB / 414.1 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 0.0001081/0.3994, allocations: 143.5 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.3994, allocations: 11.95 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.407e-05/0.3995, allocations: 3 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3995, allocations: 3.938 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3995, allocations: 4 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3995, allocations: 0 / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.023e-05/0.3996, allocations: 97.33 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.3996, allocations: 0 / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.3996, allocations: 0 / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.3996, allocations: 0 / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3996, allocations: 7.984 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3996, allocations: 0 / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3996, allocations: 7.938 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.3997, allocations: 116.5 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-06/0.3997, allocations: 0 / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.3997, allocations: 0 / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.185e-05/0.3997, allocations: 4 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.3997, allocations: 7.938 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.3997, allocations: 0 / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.094e-05/0.3998, allocations: 79.22 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3998, allocations: 0 / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.4001, allocations: 83.73 kB / 0.5659 GB, free: 14.91 MB / 414.1 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.0005657/0.4007, allocations: 225.1 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.4008, allocations: 118.8 kB / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4008, allocations: 0 / 0.5662 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.788e-05/0.4009, allocations: 81.11 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.401, allocations: 2.812 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.4013, allocations: 106.8 kB / 0.5664 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.757e-05/0.4014, allocations: 55.36 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.282e-06/0.4014, allocations: 4.062 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.4014, allocations: 11.44 kB / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4014, allocations: 0 / 0.5664 GB, free: 14.21 MB / 414.1 MB Notification: Performance of Templates: time 0.005805/0.4072, allocations: 1.928 MB / 0.5683 GB, free: 12.29 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.475564118474722]