Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002233/0.002233, allocations: 76.14 kB / 19.93 MB, free: 1.785 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.002381/0.002381, allocations: 165 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 158.6 MB / 185 MB, free: 6.414 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2223/0.2223, allocations: 32.37 MB / 269.6 MB, free: 2.738 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 407.3 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.013e-05, allocations: 2.281 kB / 407.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001744/0.001774, allocations: 499 kB / 407.8 MB, free: 372 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003368/0.005142, allocations: 1.912 MB / 409.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.066e-05/0.005163, allocations: 4 kB / 409.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.005181, allocations: 0 / 409.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.646e-06/0.00519, allocations: 0 / 409.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.007847, allocations: 0.7742 MB / 410.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.607e-05/0.007903, allocations: 12 kB / 410.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.007954, allocations: 0 / 410.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.739e-05/0.007981, allocations: 3.938 kB / 410.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.153e-05/0.008003, allocations: 0 / 410.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.00801, allocations: 0 / 410.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.009345, allocations: 0.7095 MB / 411.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.009353, allocations: 0 / 411.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.009371, allocations: 0 / 411.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009056/0.01028, allocations: 0.6587 MB / 411.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01028, allocations: 4 kB / 411.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01028, allocations: 0 / 411.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.0103, allocations: 4 kB / 411.9 MB, free: 12.25 MB / 350.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.0005641/0.01086, allocations: 331.4 kB / 412.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.0109, allocations: 8.031 kB / 412.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.01094, allocations: 0.9375 kB / 412.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.01104, allocations: 113.8 kB / 412.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.01105, allocations: 384 / 412.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.01106, allocations: 4.312 kB / 412.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.01119, allocations: 55.97 kB / 412.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.0112, allocations: 8.125 kB / 412.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.0112, allocations: 384 / 412.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.01121, allocations: 3.938 kB / 412.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.426e-05/0.01124, allocations: 29.7 kB / 412.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.01137, allocations: 97.31 kB / 412.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.054e-05/0.01145, allocations: 48.31 kB / 412.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.01149, allocations: 34.5 kB / 412.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.678e-06/0.0115, allocations: 0 / 412.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.01155, allocations: 60.33 kB / 412.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.01156, allocations: 0 / 412.7 MB, free: 11.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002413/0.0118, allocations: 122.8 kB / 412.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.01186, allocations: 81.05 kB / 412.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.01192, allocations: 93.81 kB / 413 MB, free: 10.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.01195, allocations: 25.7 kB / 413 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.01199, allocations: 80.14 kB / 413.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.01201, allocations: 0 / 413.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.01204, allocations: 13.72 kB / 413.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.0122, allocations: 310.8 kB / 413.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.359e-05/0.01223, allocations: 37.62 kB / 413.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.053e-05/0.01226, allocations: 29.7 kB / 413.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.047e-05/0.01232, allocations: 68.39 kB / 413.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01233, allocations: 0 / 413.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.649e-05/0.01242, allocations: 89.09 kB / 413.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.01247, allocations: 33.7 kB / 413.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.01248, allocations: 0 / 413.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.01249, allocations: 0 / 413.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-06/0.0125, allocations: 4 kB / 413.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.01251, allocations: 7.938 kB / 413.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.01253, allocations: 0 / 413.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.01253, allocations: 0 / 413.7 MB, free: 10.22 MB / 350.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.00012/0.01265, allocations: 143.5 kB / 413.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-06/0.01266, allocations: 0 / 413.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.01268, allocations: 6.984 kB / 413.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-06/0.01268, allocations: 0 / 413.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01268, allocations: 0 / 413.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.01269, allocations: 3.938 kB / 413.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.428e-05/0.01278, allocations: 97.33 kB / 413.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.01278, allocations: 0 / 413.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.01278, allocations: 0 / 413.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.01279, allocations: 0 / 413.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.01279, allocations: 4 kB / 413.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.0128, allocations: 0 / 413.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.0128, allocations: 3.938 kB / 413.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.01293, allocations: 120.5 kB / 414 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.01294, allocations: 4 kB / 414 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.01296, allocations: 0 / 414 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-06/0.01297, allocations: 0 / 414 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.01298, allocations: 7.969 kB / 414.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.01299, allocations: 4 kB / 414.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.73e-05/0.01304, allocations: 87.16 kB / 414.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01304, allocations: 32 / 414.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005028/0.01354, allocations: 139.7 kB / 414.3 MB, free: 9.535 MB / 350.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.0008252/0.01436, allocations: 284.6 kB / 414.6 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.01453, allocations: 114.8 kB / 414.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01453, allocations: 0 / 414.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.0146, allocations: 85.11 kB / 414.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.01473, allocations: 0 / 414.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.015, allocations: 102.9 kB / 414.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.113e-05/0.01508, allocations: 59.36 kB / 414.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.371e-06/0.01509, allocations: 0 / 414.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.0151, allocations: 8.5 kB / 414.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.0151, allocations: 0 / 414.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of Templates: time 0.009284/0.02439, allocations: 3.901 MB / 418.8 MB, free: 4.891 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.sim & ./ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Math.TestVectors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Math/TestVectors/TestVectors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.1675074845552444]