Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001897/0.001897, allocations: 92.31 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002842/0.002842, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 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.519/1.519, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3703/0.3703, allocations: 32.8 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.442e-05/3.583e-05, allocations: 10.25 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003682/0.003718, allocations: 1.602 MB / 376.9 MB, free: 3.348 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.004917, allocations: 0.5259 MB / 377.4 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.004972, allocations: 0 / 377.4 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.005215, allocations: 23.78 kB / 377.4 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.005527, allocations: 79.56 kB / 377.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.005814, allocations: 87.69 kB / 377.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.005986, allocations: 71.72 kB / 377.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.006093, allocations: 15.97 kB / 377.7 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.446e-05/0.006177, allocations: 31.92 kB / 377.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.006239, allocations: 11.98 kB / 377.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.006257, allocations: 7.938 kB / 377.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.584e-05/0.006343, allocations: 27.98 kB / 377.7 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.006397, allocations: 11.98 kB / 377.8 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.006437, allocations: 19.92 kB / 377.8 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.006635, allocations: 79.61 kB / 377.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.006641, allocations: 4 kB / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006642, allocations: 0 / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.006648, allocations: 0 / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005675/0.007216, allocations: 317.8 kB / 378.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.00726, allocations: 12.03 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.007316, allocations: 8.891 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.007518, allocations: 137.6 kB / 378.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.00753, allocations: 4.375 kB / 378.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.007552, allocations: 384 / 378.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.007701, allocations: 50.19 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.007711, allocations: 192 / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.007724, allocations: 4.125 kB / 378.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.007728, allocations: 0 / 378.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.8e-05/0.007826, allocations: 31.97 kB / 378.4 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.00819, allocations: 212.6 kB / 378.6 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.008423, allocations: 46.5 kB / 378.7 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.867e-05/0.008482, allocations: 12.86 kB / 378.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.008506, allocations: 3.938 kB / 378.7 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.008539, allocations: 38.64 kB / 378.7 MB, free: 1.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.00854, allocations: 0 / 378.7 MB, free: 1.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006074/0.009148, allocations: 145.4 kB / 378.9 MB, free: 1.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.009194, allocations: 51.41 kB / 378.9 MB, free: 1.168 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.009392, allocations: 172.8 kB / 379.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.009412, allocations: 25.7 kB / 379.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.009485, allocations: 96.12 kB / 379.2 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.009511, allocations: 15.89 kB / 379.2 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.009549, allocations: 17.72 kB / 379.2 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.009728, allocations: 322.8 kB / 379.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.009805, allocations: 19.98 kB / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.009868, allocations: 27.92 kB / 379.6 MB, free: 464 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.01002, allocations: 44.77 kB / 379.6 MB, free: 416 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.01002, allocations: 4 kB / 379.6 MB, free: 412 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002065/0.01023, allocations: 81.81 kB / 379.7 MB, free: 324 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.01024, allocations: 4 kB / 379.7 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01025, allocations: 4.062 kB / 379.7 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.01027, allocations: 0 / 379.7 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.01034, allocations: 19.98 kB / 379.8 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.01034, allocations: 0 / 379.8 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.01039, allocations: 4 kB / 379.8 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.01039, allocations: 0 / 379.8 MB, free: 292 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001178/0.01051, allocations: 121.8 kB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.01056, allocations: 19.91 kB / 379.9 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.01082, allocations: 90.06 kB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01082, allocations: 0 / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.01082, allocations: 4.281 kB / 380 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01083, allocations: 0 / 380 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.0113, allocations: 294.1 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.0113, allocations: 0 / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.01137, allocations: 15.98 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.01137, allocations: 0 / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.01138, allocations: 4 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01138, allocations: 0 / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01138, allocations: 3.984 kB / 380.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.01166, allocations: 183.4 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.01167, allocations: 7.953 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.01169, allocations: 0 / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.01177, allocations: 7.984 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.01181, allocations: 192 / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.01182, allocations: 4 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001325/0.01195, allocations: 135.1 kB / 380.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01195, allocations: 0 / 380.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002531/0.0122, allocations: 19.92 kB / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.001935/0.01414, allocations: 427.8 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.01434, allocations: 39.97 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01434, allocations: 0 / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.01442, allocations: 27.92 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.01479, allocations: 23.86 kB / 381.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.01528, allocations: 204.8 kB / 381.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.51e-05/0.01538, allocations: 79.33 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.568e-05/0.01542, allocations: 12.22 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/0.01546, allocations: 12.5 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01546, allocations: 0 / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Templates: time 0.004182/0.01964, allocations: 1.161 MB / 382.6 MB, free: 13.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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: 4.92704245809]