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.001526/0.001526, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.001806/0.001806, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.472/1.472, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2217/0.2217, allocations: 46.93 MB / 357.8 MB, free: 10.32 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.002149/0.002149, allocations: 67.89 kB / 0.4921 GB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1289, allocations: 66 MB / 0.5565 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001726/0.1306, allocations: 487.1 kB / 0.557 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.1321, allocations: 0.7782 MB / 0.5577 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.359e-05/0.1321, allocations: 0 / 0.5577 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.1321, allocations: 0 / 0.5577 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 4.559e-06/0.1321, allocations: 0 / 0.5577 GB, free: 4.086 MB / 414.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.001841/0.134, allocations: 0.6651 MB / 0.5584 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.089e-05/0.134, allocations: 11.98 kB / 0.5584 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.1341, allocations: 0 / 0.5584 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.413e-05/0.1341, allocations: 0 / 0.5584 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.473e-05/0.1341, allocations: 0 / 0.5584 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-06/0.1341, allocations: 0 / 0.5584 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007613/0.1349, allocations: 419.2 kB / 0.5588 GB, free: 3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.324e-06/0.1349, allocations: 0 / 0.5588 GB, free: 3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.1349, allocations: 0 / 0.5588 GB, free: 3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005355/0.1354, allocations: 351.1 kB / 0.5591 GB, free: 2.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1354, allocations: 0 / 0.5591 GB, free: 2.656 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1354, allocations: 0 / 0.5591 GB, free: 2.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1354, allocations: 0 / 0.5591 GB, free: 2.656 MB / 414.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.0004728/0.1359, allocations: 392.7 kB / 0.5595 GB, free: 2.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1359, allocations: 8.031 kB / 0.5595 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.136, allocations: 0.9375 kB / 0.5595 GB, free: 2.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1361, allocations: 164.4 kB / 0.5597 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.1361, allocations: 4.375 kB / 0.5597 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.1361, allocations: 4.375 kB / 0.5597 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.43e-05/0.1362, allocations: 34.14 kB / 0.5597 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.1362, allocations: 192 / 0.5597 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1362, allocations: 7.938 kB / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1362, allocations: 0 / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.092e-05/0.1363, allocations: 3.984 kB / 0.5597 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.1364, allocations: 141.7 kB / 0.5599 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.527e-05/0.1365, allocations: 22.55 kB / 0.5599 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.1365, allocations: 12.86 kB / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-06/0.1365, allocations: 0 / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.1365, allocations: 60.2 kB / 0.5599 GB, free: 1.641 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1365, allocations: 4.062 kB / 0.5599 GB, free: 1.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001793/0.1367, allocations: 63.33 kB / 0.56 GB, free: 1.562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.1368, allocations: 81.11 kB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.825e-05/0.1368, allocations: 93.81 kB / 0.5602 GB, free: 1.363 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1368, allocations: 25.83 kB / 0.5602 GB, free: 1.332 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.1369, allocations: 88.14 kB / 0.5603 GB, free: 1.242 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.1369, allocations: 0 / 0.5603 GB, free: 1.242 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.1369, allocations: 13.72 kB / 0.5603 GB, free: 1.223 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1371, allocations: 314.8 kB / 0.5606 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-06/0.1371, allocations: 0 / 0.5606 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.84e-06/0.1371, allocations: 0 / 0.5606 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.138e-05/0.1371, allocations: 64.2 kB / 0.5607 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.1371, allocations: 4.062 kB / 0.5607 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.612e-05/0.1372, allocations: 63.41 kB / 0.5607 GB, free: 0.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.1372, allocations: 35.56 kB / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1373, allocations: 0 / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1373, allocations: 3.938 kB / 0.5608 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.246e-06/0.1373, allocations: 4 kB / 0.5608 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1373, allocations: 0 / 0.5608 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.474e-05/0.1373, allocations: 0 / 0.5608 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1373, allocations: 0 / 0.5608 GB, free: 0.7031 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.702e-05/0.1374, allocations: 139.6 kB / 0.5609 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.1374, allocations: 0 / 0.5609 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.05e-05/0.1374, allocations: 7.062 kB / 0.5609 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1374, allocations: 7.969 kB / 0.5609 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1374, allocations: 0 / 0.5609 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1374, allocations: 3.938 kB / 0.5609 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1375, allocations: 149.7 kB / 0.5611 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1375, allocations: 0 / 0.5611 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-06/0.1375, allocations: 3.938 kB / 0.5611 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1375, allocations: 0 / 0.5611 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1376, allocations: 11.94 kB / 0.5611 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1376, allocations: 0 / 0.5611 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1376, allocations: 0 / 0.5611 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.1377, allocations: 90.83 kB / 0.5612 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.1377, allocations: 77.11 kB / 0.5612 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1377, allocations: 7.922 kB / 0.5612 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.174e-05/0.1377, allocations: 4 kB / 0.5612 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.1377, allocations: 7.969 kB / 0.5613 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1377, allocations: 0 / 0.5613 GB, free: 100 kB / 414.1 MB Notification: Performance of sorting global known variables: time 3.124e-05/0.1378, allocations: 75.28 kB / 0.5613 GB, free: 24 kB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1378, allocations: 0 / 0.5613 GB, free: 24 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004075/0.1382, allocations: 83.89 kB / 0.5614 GB, free: 15.94 MB / 430.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.0005935/0.1388, allocations: 228.9 kB / 0.5616 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.1389, allocations: 67.34 kB / 0.5617 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1389, allocations: 4.062 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.1389, allocations: 55.39 kB / 0.5617 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.139, allocations: 4 kB / 0.5617 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002073/0.1392, allocations: 110.8 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1395, allocations: 0.669 MB / 0.5625 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.233e-05/0.1396, allocations: 7.438 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1396, allocations: 3.938 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of Templates: time 0.004334/0.1439, allocations: 1.78 MB / 0.5643 GB, free: 12.93 MB / 430.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: 8.599318869004492]