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.001417/0.001417, 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.001535/0.001535, allocations: 217.3 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.487/1.487, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2486/0.2486, allocations: 46.88 MB / 361.1 MB, free: 4.637 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.002391/0.002391, allocations: 75.88 kB / 0.4967 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3125, allocations: 65.98 MB / 0.5612 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.00164/0.3142, allocations: 0.4993 MB / 0.5617 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3156, allocations: 0.7704 MB / 0.5624 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.496e-05/0.3156, allocations: 0 / 0.5624 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.037e-05/0.3156, allocations: 3.938 kB / 0.5624 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.3156, allocations: 8 kB / 0.5624 GB, free: 3.758 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.001808/0.3174, allocations: 0.6538 MB / 0.5631 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.647e-05/0.3175, allocations: 4 kB / 0.5631 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.3175, allocations: 7.984 kB / 0.5631 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.41e-05/0.3175, allocations: 3.938 kB / 0.5631 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.659e-05/0.3175, allocations: 0 / 0.5631 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-06/0.3175, allocations: 0 / 0.5631 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007598/0.3183, allocations: 407.2 kB / 0.5635 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-06/0.3183, allocations: 0 / 0.5635 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.3183, allocations: 7.938 kB / 0.5635 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.3188, allocations: 353.9 kB / 0.5638 GB, free: 2.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3189, allocations: 0 / 0.5638 GB, free: 2.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3189, allocations: 4 kB / 0.5638 GB, free: 2.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.3189, allocations: 0 / 0.5638 GB, free: 2.332 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.0004745/0.3193, allocations: 388.7 kB / 0.5642 GB, free: 1.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3194, allocations: 12.03 kB / 0.5642 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.3194, allocations: 4.922 kB / 0.5642 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3195, allocations: 161.4 kB / 0.5644 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-06/0.3195, allocations: 4.312 kB / 0.5644 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.3196, allocations: 384 / 0.5644 GB, free: 1.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.3197, allocations: 34.2 kB / 0.5644 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3197, allocations: 4.188 kB / 0.5644 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3197, allocations: 3.938 kB / 0.5644 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3197, allocations: 0 / 0.5644 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.031e-05/0.3197, allocations: 4 kB / 0.5644 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.3199, allocations: 149.7 kB / 0.5645 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.484e-05/0.3199, allocations: 14.58 kB / 0.5646 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.3199, allocations: 8.953 kB / 0.5646 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-06/0.3199, allocations: 3.984 kB / 0.5646 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/0.32, allocations: 64.2 kB / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.32, allocations: 0 / 0.5646 GB, free: 1.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001859/0.3202, allocations: 71.33 kB / 0.5647 GB, free: 1.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.3203, allocations: 77.11 kB / 0.5648 GB, free: 1.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.989e-05/0.3204, allocations: 93.81 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.3204, allocations: 25.7 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.3206, allocations: 80.14 kB / 0.565 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.3206, allocations: 8.125 kB / 0.565 GB, free: 0.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.3206, allocations: 13.72 kB / 0.565 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002646/0.3209, allocations: 310.8 kB / 0.5653 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.3209, allocations: 0 / 0.5653 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.3209, allocations: 11.92 kB / 0.5653 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.01e-05/0.321, allocations: 60.27 kB / 0.5654 GB, free: 0.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.321, allocations: 4 kB / 0.5654 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.642e-05/0.3211, allocations: 63.47 kB / 0.5654 GB, free: 432 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.3211, allocations: 33.7 kB / 0.5654 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3211, allocations: 3.984 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.3211, allocations: 7.875 kB / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.3211, allocations: 0 / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3211, allocations: 0 / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.38e-05/0.3211, allocations: 0 / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3212, allocations: 0 / 0.5655 GB, free: 380 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.184e-05/0.3212, allocations: 135.5 kB / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.3213, allocations: 0 / 0.5656 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.294e-05/0.3213, allocations: 11.09 kB / 0.5656 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.3213, allocations: 3.938 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3213, allocations: 7.938 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.3213, allocations: 0 / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.3214, allocations: 145.7 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3214, allocations: 0 / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3214, allocations: 0 / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.3214, allocations: 0 / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-06/0.3214, allocations: 7.938 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.3214, allocations: 0 / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3214, allocations: 0 / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.3215, allocations: 94.88 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.3216, allocations: 85.11 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.3216, allocations: 3.938 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-06/0.3217, allocations: 0 / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.3217, allocations: 0 / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-06/0.3217, allocations: 3.984 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.836e-05/0.3217, allocations: 79.28 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3217, allocations: 4.031 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.3221, allocations: 79.73 kB / 0.5661 GB, free: 15.61 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.0005255/0.3226, allocations: 231 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.3227, allocations: 59.41 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3227, allocations: 0 / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.3227, allocations: 55.41 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.3229, allocations: 8.109 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.3231, allocations: 81.08 kB / 0.5665 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.3234, allocations: 0.6728 MB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.412e-06/0.3234, allocations: 4 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.368e-05/0.3234, allocations: 7.438 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3234, allocations: 0 / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of Templates: time 0.005924/0.3294, allocations: 1.947 MB / 0.5691 GB, free: 12.48 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 cvode -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.0400002473033965]