Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001544/0.001544, allocations: 109.1 kB / 21.18 MB, free: 0.7773 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.001728/0.001728, allocations: 210.1 kB / 24.49 MB, free: 4.164 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.391/1.391, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2161/0.2161, allocations: 46.93 MB / 361.5 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 83.86 kB / 0.4974 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2616, allocations: 66.07 MB / 0.5619 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001447/0.263, allocations: 0.4931 MB / 0.5624 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.2644, allocations: 0.7743 MB / 0.5632 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.774e-05/0.2644, allocations: 4 kB / 0.5632 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.081e-05/0.2644, allocations: 3.938 kB / 0.5632 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.31e-06/0.2644, allocations: 4 kB / 0.5632 GB, free: 2.957 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001667/0.2661, allocations: 0.6771 MB / 0.5638 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.292e-05/0.2661, allocations: 8 kB / 0.5638 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.873e-05/0.2661, allocations: 0 / 0.5638 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.154e-05/0.2662, allocations: 0 / 0.5638 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.488e-05/0.2662, allocations: 3.984 kB / 0.5638 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-06/0.2662, allocations: 0 / 0.5638 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007617/0.2669, allocations: 482.5 kB / 0.5643 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.921e-06/0.2669, allocations: 0 / 0.5643 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.569e-05/0.267, allocations: 0 / 0.5643 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.2674, allocations: 361.5 kB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2674, allocations: 0 / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2674, allocations: 0 / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.2674, allocations: 4 kB / 0.5647 GB, free: 1.445 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.0003489/0.2678, allocations: 315.6 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2678, allocations: 12.03 kB / 0.565 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.2678, allocations: 0.9375 kB / 0.565 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.2679, allocations: 111.5 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.2679, allocations: 384 / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.2679, allocations: 4.375 kB / 0.5651 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.753e-05/0.268, allocations: 30.2 kB / 0.5651 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.268, allocations: 4.188 kB / 0.5651 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.268, allocations: 3.938 kB / 0.5651 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.268, allocations: 0 / 0.5651 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.541e-05/0.268, allocations: 7.938 kB / 0.5651 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.2682, allocations: 116.8 kB / 0.5652 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.837e-05/0.2682, allocations: 22.61 kB / 0.5653 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.919e-05/0.2682, allocations: 4.859 kB / 0.5653 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-06/0.2682, allocations: 0 / 0.5653 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.2683, allocations: 64.2 kB / 0.5653 GB, free: 0.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.2683, allocations: 0 / 0.5653 GB, free: 0.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001453/0.2684, allocations: 67.39 kB / 0.5654 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.2685, allocations: 77.11 kB / 0.5655 GB, free: 464 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.953e-05/0.2685, allocations: 97.81 kB / 0.5656 GB, free: 356 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.2685, allocations: 29.7 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.2686, allocations: 80.14 kB / 0.5657 GB, free: 236 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.2686, allocations: 128 / 0.5657 GB, free: 236 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.2686, allocations: 17.72 kB / 0.5657 GB, free: 212 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2687, allocations: 314.8 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.2688, allocations: 3.984 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.458e-06/0.2688, allocations: 0 / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/0.2688, allocations: 68.2 kB / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2688, allocations: 0 / 0.566 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.098e-05/0.2689, allocations: 59.41 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.2689, allocations: 37.78 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2689, allocations: 0 / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2689, allocations: 3.938 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.2689, allocations: 0 / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.2689, allocations: 0 / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.2689, allocations: 4 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.269, allocations: 11.97 kB / 0.5662 GB, free: 15.67 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 7.827e-05/0.269, allocations: 131.5 kB / 0.5663 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.269, allocations: 4 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.477e-05/0.2691, allocations: 10.94 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.2691, allocations: 0 / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2691, allocations: 0 / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.2691, allocations: 3.938 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.515e-05/0.2692, allocations: 124.8 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.2692, allocations: 0 / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.2692, allocations: 3.938 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.2692, allocations: 3.938 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2692, allocations: 3.938 kB / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.2692, allocations: 0 / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2692, allocations: 0 / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.296e-05/0.2693, allocations: 94.83 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-06/0.2693, allocations: 0 / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.2693, allocations: 3.938 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-06/0.2693, allocations: 4 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/0.2693, allocations: 0 / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.2693, allocations: 3.984 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 2.998e-05/0.2693, allocations: 75.28 kB / 0.5666 GB, free: 15.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2693, allocations: 4.031 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003099/0.2696, allocations: 83.73 kB / 0.5667 GB, free: 15.04 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.0004626/0.2701, allocations: 218 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.133e-05/0.2702, allocations: 55.41 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2702, allocations: 0 / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.2702, allocations: 59.39 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.2703, allocations: 12.11 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001687/0.2705, allocations: 102.8 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.2708, allocations: 0.6729 MB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.081e-05/0.2708, allocations: 7.438 kB / 0.5678 GB, free: 13.84 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2708, allocations: 3.938 kB / 0.5678 GB, free: 13.83 MB / 414.1 MB Notification: Performance of Templates: time 0.003561/0.2744, allocations: 1.783 MB / 0.5695 GB, free: 12.05 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_trunk_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.746699173934758]