Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001844/0.001844, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00222/0.00222, allocations: 216.5 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.2 MB / 257.8 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2618/0.2618, allocations: 46.89 MB / 361.1 MB, free: 4.652 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002428/0.002428, allocations: 75.88 kB / 0.4967 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3365, allocations: 65.99 MB / 0.5612 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001678/0.3382, allocations: 0.5 MB / 0.5617 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.3397, allocations: 0.7743 MB / 0.5624 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.502e-05/0.3397, allocations: 0 / 0.5624 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.3397, allocations: 0 / 0.5624 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.445e-06/0.3397, allocations: 3.938 kB / 0.5624 GB, free: 3.793 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.001758/0.3415, allocations: 0.6654 MB / 0.5631 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.332e-05/0.3415, allocations: 0 / 0.5631 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.3416, allocations: 3.984 kB / 0.5631 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.439e-05/0.3416, allocations: 4 kB / 0.5631 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.442e-05/0.3416, allocations: 0 / 0.5631 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.859e-06/0.3416, allocations: 0 / 0.5631 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007184/0.3423, allocations: 411.2 kB / 0.5635 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.284e-06/0.3423, allocations: 0 / 0.5635 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.3423, allocations: 11.92 kB / 0.5635 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000492/0.3428, allocations: 353.8 kB / 0.5638 GB, free: 2.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3428, allocations: 0 / 0.5638 GB, free: 2.363 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3428, allocations: 0 / 0.5638 GB, free: 2.363 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3428, allocations: 0 / 0.5638 GB, free: 2.363 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.0004601/0.3433, allocations: 388.7 kB / 0.5642 GB, free: 1.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3433, allocations: 12.02 kB / 0.5642 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.3434, allocations: 4.938 kB / 0.5642 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3435, allocations: 165.4 kB / 0.5644 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3435, allocations: 384 / 0.5644 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-06/0.3435, allocations: 384 / 0.5644 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.043e-05/0.3436, allocations: 34.2 kB / 0.5644 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3436, allocations: 192 / 0.5644 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3436, allocations: 3.938 kB / 0.5644 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3436, allocations: 0 / 0.5644 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.528e-05/0.3436, allocations: 0 / 0.5644 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.3438, allocations: 157.6 kB / 0.5645 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.409e-05/0.3438, allocations: 18.58 kB / 0.5646 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.3438, allocations: 4.859 kB / 0.5646 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.3438, allocations: 0 / 0.5646 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.3439, allocations: 68.28 kB / 0.5646 GB, free: 1.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3439, allocations: 0 / 0.5646 GB, free: 1.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001792/0.3441, allocations: 71.33 kB / 0.5647 GB, free: 1.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.3441, allocations: 81.23 kB / 0.5648 GB, free: 1.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.882e-05/0.3442, allocations: 93.81 kB / 0.5649 GB, free: 1.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.3442, allocations: 25.7 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.3442, allocations: 80.14 kB / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.3443, allocations: 0 / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.3443, allocations: 13.72 kB / 0.565 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3444, allocations: 314.8 kB / 0.5653 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.3444, allocations: 3.984 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-06/0.3445, allocations: 4 kB / 0.5653 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.549e-05/0.3445, allocations: 64.27 kB / 0.5654 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3445, allocations: 0 / 0.5654 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.577e-05/0.3446, allocations: 59.41 kB / 0.5654 GB, free: 472 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.3446, allocations: 33.69 kB / 0.5654 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.3446, allocations: 4 kB / 0.5654 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3446, allocations: 3.938 kB / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.3446, allocations: 0 / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3446, allocations: 0 / 0.5654 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.3447, allocations: 4.031 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3447, allocations: 0 / 0.5655 GB, free: 420 kB / 398.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.264e-05/0.3448, allocations: 143.5 kB / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.3448, allocations: 0 / 0.5656 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.196e-05/0.3448, allocations: 7.062 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.3448, allocations: 0 / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3448, allocations: 0 / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3448, allocations: 4 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.3449, allocations: 145.7 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3449, allocations: 0 / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-06/0.3449, allocations: 11.94 kB / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.3449, allocations: 0 / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3449, allocations: 7.875 kB / 0.5658 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.726e-06/0.3449, allocations: 4 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3449, allocations: 0 / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.345, allocations: 90.83 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.3451, allocations: 77.11 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.3451, allocations: 11.97 kB / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-06/0.3451, allocations: 0 / 0.5659 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.3451, allocations: 3.984 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3451, allocations: 0 / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.705e-05/0.3452, allocations: 79.28 kB / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3452, allocations: 0 / 0.566 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.3455, allocations: 83.73 kB / 0.5661 GB, free: 15.64 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.0005823/0.3461, allocations: 227.9 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001109/0.3462, allocations: 59.34 kB / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3462, allocations: 0 / 0.5664 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.031e-05/0.3463, allocations: 63.33 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.3464, allocations: 4 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/0.3466, allocations: 81.08 kB / 0.5665 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.347, allocations: 0.669 MB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.923e-06/0.347, allocations: 0 / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.347, allocations: 15.56 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.347, allocations: 0 / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of Templates: time 0.005519/0.3525, allocations: 1.931 MB / 0.5691 GB, free: 12.53 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.107765258755535]