Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.0009352/0.0009352, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001043/0.001043, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 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 0.9075/0.9075, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2518/0.2518, allocations: 32.8 MB / 294.6 MB, free: 1.164 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 376.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.064e-05, allocations: 9.203 kB / 376.5 MB, free: 4.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.0028/0.002821, allocations: 1.618 MB / 378.1 MB, free: 2.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.003871, allocations: 0.5376 MB / 378.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.003927, allocations: 0 / 378.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002168/0.004144, allocations: 27.83 kB / 378.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.004434, allocations: 83.56 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.004733, allocations: 111.6 kB / 378.9 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.004877, allocations: 71.7 kB / 378.9 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.743e-05/0.004964, allocations: 12 kB / 379 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.5e-05/0.005039, allocations: 31.91 kB / 379 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.005098, allocations: 15.92 kB / 379 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.005115, allocations: 7.984 kB / 379 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.306e-05/0.005188, allocations: 28 kB / 379 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.005236, allocations: 15.92 kB / 379.1 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.005268, allocations: 11.94 kB / 379.1 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.005424, allocations: 83.59 kB / 379.1 MB, free: 1.672 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.005426, allocations: 0 / 379.1 MB, free: 1.672 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.005426, allocations: 0 / 379.1 MB, free: 1.672 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.00543, allocations: 4 kB / 379.2 MB, free: 1.668 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.0004106/0.005841, allocations: 416.1 kB / 379.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.005879, allocations: 12.03 kB / 379.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.005917, allocations: 8.891 kB / 379.6 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.006059, allocations: 148.2 kB / 379.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.006068, allocations: 384 / 379.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.006084, allocations: 384 / 379.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.006197, allocations: 62.64 kB / 379.8 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.006208, allocations: 4 kB / 379.8 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.006215, allocations: 0 / 379.8 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.006222, allocations: 4 kB / 379.8 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.954e-05/0.006252, allocations: 11.98 kB / 379.8 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002882/0.00654, allocations: 252.4 kB / 380.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.006691, allocations: 50.97 kB / 380.1 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.006714, allocations: 19.56 kB / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.006735, allocations: 96 / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.006759, allocations: 41.38 kB / 380.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/0.006761, allocations: 0 / 380.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000325/0.007086, allocations: 81.56 kB / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.007119, allocations: 51.41 kB / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.00726, allocations: 220.8 kB / 380.5 MB, free: 164 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.007273, allocations: 25.7 kB / 380.5 MB, free: 132 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.007353, allocations: 150.8 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.007377, allocations: 19.84 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.007415, allocations: 19.38 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.007549, allocations: 0.4962 MB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.00757, allocations: 4 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/0.007587, allocations: 7.984 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.455e-05/0.007632, allocations: 27.61 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.007634, allocations: 3.938 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.407e-05/0.007728, allocations: 61.64 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.007741, allocations: 6.031 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.007745, allocations: 0 / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.007755, allocations: 0 / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.007814, allocations: 12 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.007818, allocations: 3.984 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.586e-05/0.007844, allocations: 0 / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.007854, allocations: 4 kB / 381.3 MB, free: 15.29 MB / 362.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 8.187e-05/0.007936, allocations: 164.5 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.00797, allocations: 11.91 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.008106, allocations: 74.39 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.008108, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.008109, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008113, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.008407, allocations: 298 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.008409, allocations: 0 / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.008461, allocations: 15.98 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.008464, allocations: 0 / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.008469, allocations: 0 / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008471, allocations: 3.938 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008472, allocations: 0 / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.008614, allocations: 211.8 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.008629, allocations: 12.23 kB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.008642, allocations: 0 / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.00871, allocations: 7.938 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.008737, allocations: 7.969 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.008742, allocations: 0 / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.328e-05/0.008826, allocations: 158 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.008826, allocations: 4 kB / 382.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.009079, allocations: 8 kB / 382.3 MB, free: 14.26 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.001043/0.01012, allocations: 385.8 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.515e-05/0.01021, allocations: 23.67 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01021, allocations: 0 / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.01024, allocations: 23.73 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.01052, allocations: 31.91 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.01087, allocations: 186.4 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.01092, allocations: 63.34 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.859e-05/0.01096, allocations: 7.984 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.01103, allocations: 82.2 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of SimCode: time 5.82e-07/0.01103, allocations: 0 / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of Templates: time 0.003108/0.01414, allocations: 1.294 MB / 384.4 MB, free: 12.27 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.746229240205139]