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.001694/0.001694, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002254/0.002254, allocations: 212 kB / 23.74 MB, free: 4.656 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.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2364/0.2364, allocations: 46.93 MB / 360.8 MB, free: 4.266 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.003581/0.003581, allocations: 63.91 kB / 0.4966 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3479, allocations: 66.03 MB / 0.5611 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001909/0.3498, allocations: 0.497 MB / 0.5616 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.3513, allocations: 0.7781 MB / 0.5623 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.805e-05/0.3514, allocations: 0 / 0.5623 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.3514, allocations: 0 / 0.5623 GB, free: 3.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.227e-06/0.3514, allocations: 4 kB / 0.5624 GB, free: 3.137 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.001924/0.3533, allocations: 0.681 MB / 0.563 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.372e-05/0.3533, allocations: 4 kB / 0.563 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.3534, allocations: 0 / 0.563 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.576e-05/0.3534, allocations: 3.984 kB / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.689e-05/0.3534, allocations: 4 kB / 0.563 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-06/0.3534, allocations: 0 / 0.563 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008442/0.3543, allocations: 475.2 kB / 0.5635 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-06/0.3543, allocations: 3.938 kB / 0.5635 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.698e-05/0.3543, allocations: 0 / 0.5635 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005044/0.3548, allocations: 357.6 kB / 0.5638 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3548, allocations: 0 / 0.5638 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3548, allocations: 0 / 0.5638 GB, free: 1.629 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3548, allocations: 0 / 0.5638 GB, free: 1.629 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.0004181/0.3552, allocations: 311.6 kB / 0.5641 GB, free: 1.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3553, allocations: 19.95 kB / 0.5641 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.3553, allocations: 4.938 kB / 0.5641 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.824e-05/0.3554, allocations: 111.5 kB / 0.5643 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3554, allocations: 384 / 0.5643 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.3554, allocations: 384 / 0.5643 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.704e-05/0.3555, allocations: 30.27 kB / 0.5643 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3555, allocations: 192 / 0.5643 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.3555, allocations: 3.938 kB / 0.5643 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3555, allocations: 0 / 0.5643 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.222e-05/0.3556, allocations: 7.984 kB / 0.5643 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.3557, allocations: 120.8 kB / 0.5644 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.053e-05/0.3558, allocations: 26.45 kB / 0.5644 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.3558, allocations: 8.953 kB / 0.5644 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.3558, allocations: 0 / 0.5644 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.3558, allocations: 56.27 kB / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3558, allocations: 0 / 0.5645 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002014/0.356, allocations: 67.33 kB / 0.5646 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.3561, allocations: 85.23 kB / 0.5646 GB, free: 0.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.939e-05/0.3562, allocations: 93.81 kB / 0.5647 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3562, allocations: 25.7 kB / 0.5648 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.3563, allocations: 84.14 kB / 0.5648 GB, free: 416 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.3563, allocations: 3.938 kB / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.3563, allocations: 13.72 kB / 0.5649 GB, free: 392 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3565, allocations: 310.8 kB / 0.5652 GB, free: 72 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.3565, allocations: 4 kB / 0.5652 GB, free: 68 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-06/0.3565, allocations: 7.984 kB / 0.5652 GB, free: 60 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.356e-05/0.3566, allocations: 64.27 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3566, allocations: 0 / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.885e-05/0.3567, allocations: 55.41 kB / 0.5653 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.3567, allocations: 33.7 kB / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3567, allocations: 0 / 0.5653 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3567, allocations: 7.922 kB / 0.5653 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.3567, allocations: 0 / 0.5653 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3567, allocations: 3.938 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.607e-05/0.3567, allocations: 8.094 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3567, allocations: 4 kB / 0.5653 GB, free: 15.85 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 9.042e-05/0.3568, allocations: 135.5 kB / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.3568, allocations: 0 / 0.5655 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.144e-05/0.3569, allocations: 10.94 kB / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.3569, allocations: 0 / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3569, allocations: 0 / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.3569, allocations: 0 / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.357, allocations: 120.7 kB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.357, allocations: 4 kB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.357, allocations: 4 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.357, allocations: 0 / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.357, allocations: 3.938 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.357, allocations: 3.938 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.357, allocations: 0 / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.3571, allocations: 90.83 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-06/0.3571, allocations: 0 / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3571, allocations: 7.969 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-06/0.3571, allocations: 0 / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.3571, allocations: 7.938 kB / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.3571, allocations: 0 / 0.5657 GB, free: 15.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.363e-05/0.3572, allocations: 75.28 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3572, allocations: 0 / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.3575, allocations: 87.72 kB / 0.5659 GB, free: 15.23 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.0004947/0.358, allocations: 225.3 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.3581, allocations: 55.41 kB / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3581, allocations: 0 / 0.5661 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.3581, allocations: 55.41 kB / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/0.3583, allocations: 7.938 kB / 0.5662 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001749/0.3584, allocations: 81.06 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.3587, allocations: 0.6729 MB / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.651e-06/0.3588, allocations: 3.938 kB / 0.5669 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.203e-05/0.3588, allocations: 11.56 kB / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3588, allocations: 0 / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of Templates: time 0.005468/0.3642, allocations: 1.941 MB / 0.5688 GB, free: 12.1 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.30274072708562]