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.00137/0.00137, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001747/0.001747, allocations: 213.2 kB / 24.48 MB, free: 3.844 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.2405/0.2405, allocations: 46.97 MB / 361.6 MB, free: 4.125 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.002307/0.002307, allocations: 63.89 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4153, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001667/0.4169, allocations: 497 kB / 0.5623 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.4185, allocations: 0.7238 MB / 0.563 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.793e-05/0.4185, allocations: 0 / 0.563 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.168e-05/0.4185, allocations: 4 kB / 0.563 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.4186, allocations: 0 / 0.563 GB, free: 2.961 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.001935/0.4205, allocations: 0.642 MB / 0.5636 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.227e-05/0.4205, allocations: 3.984 kB / 0.5636 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.281e-05/0.4206, allocations: 0 / 0.5636 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.051e-05/0.4206, allocations: 4 kB / 0.5636 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.903e-05/0.4206, allocations: 0 / 0.5636 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.112e-06/0.4206, allocations: 0 / 0.5636 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007925/0.4214, allocations: 407.2 kB / 0.564 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.4214, allocations: 3.938 kB / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.4214, allocations: 0 / 0.564 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005144/0.422, allocations: 349.7 kB / 0.5643 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.422, allocations: 0 / 0.5643 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.422, allocations: 4 kB / 0.5643 GB, free: 1.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.422, allocations: 0 / 0.5643 GB, free: 1.57 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.000424/0.4224, allocations: 315.6 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4224, allocations: 12.03 kB / 0.5647 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.4225, allocations: 0.9375 kB / 0.5647 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.742e-05/0.4226, allocations: 107.5 kB / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.4226, allocations: 384 / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-06/0.4226, allocations: 384 / 0.5648 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.4227, allocations: 55.97 kB / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.4227, allocations: 192 / 0.5648 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.4227, allocations: 7.938 kB / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.4227, allocations: 0 / 0.5648 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.695e-05/0.4227, allocations: 33.69 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.4229, allocations: 97.33 kB / 0.565 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.4229, allocations: 52.23 kB / 0.565 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.423, allocations: 30.56 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.423, allocations: 0 / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/0.4231, allocations: 64.27 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.4231, allocations: 0 / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002178/0.4233, allocations: 122.7 kB / 0.5652 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.4233, allocations: 81.23 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.687e-05/0.4234, allocations: 93.81 kB / 0.5654 GB, free: 324 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.4234, allocations: 25.7 kB / 0.5654 GB, free: 292 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.4235, allocations: 84.14 kB / 0.5655 GB, free: 204 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.4235, allocations: 3.938 kB / 0.5655 GB, free: 200 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.4235, allocations: 13.7 kB / 0.5655 GB, free: 180 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.4237, allocations: 322.8 kB / 0.5658 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.563e-05/0.4237, allocations: 25.7 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.316e-05/0.4237, allocations: 29.7 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.805e-05/0.4238, allocations: 60.33 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4238, allocations: 4 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.882e-05/0.4239, allocations: 93.09 kB / 0.566 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.4239, allocations: 29.7 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4239, allocations: 0 / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.424, allocations: 4 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-06/0.424, allocations: 3.938 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.424, allocations: 3.938 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.424, allocations: 0 / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.424, allocations: 0 / 0.566 GB, free: 15.55 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.0001301/0.4241, allocations: 143.6 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.4241, allocations: 3.938 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.23e-05/0.4241, allocations: 3 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.4242, allocations: 3.938 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4242, allocations: 0 / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4242, allocations: 4 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.4243, allocations: 93.33 kB / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4243, allocations: 0 / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.4243, allocations: 0 / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.4243, allocations: 0 / 0.5663 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.4243, allocations: 7.984 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.4243, allocations: 8 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.4243, allocations: 3.938 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.4244, allocations: 112.5 kB / 0.5664 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.4244, allocations: 7.922 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.4244, allocations: 0 / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-06/0.4244, allocations: 0 / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.4245, allocations: 11.88 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.4245, allocations: 0 / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.304e-05/0.4245, allocations: 75.28 kB / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4245, allocations: 0 / 0.5665 GB, free: 15 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003839/0.4249, allocations: 83.77 kB / 0.5666 GB, free: 14.92 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.0005772/0.4255, allocations: 228.2 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.4256, allocations: 118.8 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4257, allocations: 0 / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.58e-05/0.4257, allocations: 77.11 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.4258, allocations: 4 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.4261, allocations: 136.5 kB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.487e-05/0.4262, allocations: 59.48 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.4262, allocations: 15.31 kB / 0.5672 GB, free: 14.19 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4262, allocations: 0 / 0.5672 GB, free: 14.19 MB / 414.1 MB Notification: Performance of Templates: time 0.004276/0.4304, allocations: 1.78 MB / 0.5689 GB, free: 12.41 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/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_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: 9.129173510707915]