Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.001028/0.001028, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001138/0.001138, allocations: 164.4 kB / 24.99 MB, free: 8.285 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 1.074/1.074, allocations: 177.1 MB / 205.3 MB, free: 5.586 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.266/0.266, allocations: 32.81 MB / 294.6 MB, free: 1.289 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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.587e-05, allocations: 4.281 kB / 376 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002232/0.002258, allocations: 1.657 MB / 377.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000713/0.002971, allocations: 0.5337 MB / 378.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.003033, allocations: 0 / 378.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.003272, allocations: 79.64 kB / 378.3 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002769/0.003549, allocations: 99.58 kB / 378.4 MB, free: 2.598 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.00378, allocations: 99.56 kB / 378.5 MB, free: 2.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.003936, allocations: 87.73 kB / 378.6 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.004028, allocations: 12 kB / 378.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.551e-05/0.004094, allocations: 47.81 kB / 378.6 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.465e-05/0.004188, allocations: 55.89 kB / 378.7 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.004202, allocations: 4 kB / 378.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.004283, allocations: 47.91 kB / 378.7 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.004331, allocations: 19.92 kB / 378.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.00436, allocations: 11.94 kB / 378.8 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.004518, allocations: 91.66 kB / 378.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.004521, allocations: 0 / 378.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004521, allocations: 0 / 378.8 MB, free: 2.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.004525, allocations: 0 / 378.8 MB, free: 2.129 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004032/0.004928, allocations: 443.9 kB / 379.3 MB, free: 1.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.004969, allocations: 12.02 kB / 379.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.005021, allocations: 20.84 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.00519, allocations: 145.1 kB / 379.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.005201, allocations: 4.375 kB / 379.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.005225, allocations: 4.375 kB / 379.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.005364, allocations: 58.94 kB / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.005374, allocations: 192 / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.005388, allocations: 8.125 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.005399, allocations: 0 / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.95e-05/0.005439, allocations: 19.86 kB / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.005805, allocations: 295.7 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.562e-05/0.00588, allocations: 47.03 kB / 379.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.005907, allocations: 19.56 kB / 379.9 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.005931, allocations: 4 kB / 379.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.005956, allocations: 37.48 kB / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.005957, allocations: 0 / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005599/0.006517, allocations: 165.3 kB / 380.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.006548, allocations: 51.41 kB / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.006688, allocations: 234.4 kB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.006698, allocations: 29.7 kB / 380.4 MB, free: 396 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.006759, allocations: 158.8 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.006784, allocations: 27.8 kB / 380.6 MB, free: 204 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.006815, allocations: 23.38 kB / 380.6 MB, free: 172 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.00694, allocations: 0.504 MB / 381.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.006962, allocations: 7.984 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.841e-05/0.006981, allocations: 8 kB / 381.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.993e-05/0.007031, allocations: 43.91 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.007032, allocations: 0 / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.459e-05/0.007126, allocations: 81.58 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.00714, allocations: 5.719 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.007145, allocations: 4 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.007156, allocations: 0 / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.699e-05/0.007233, allocations: 16 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.007239, allocations: 4 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.007259, allocations: 3.984 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.007267, allocations: 8 kB / 381.3 MB, free: 15.46 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 (8): * Single equations (assignments): 8 * 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 6.806e-05/0.007335, allocations: 164.4 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.007359, allocations: 19.91 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.007503, allocations: 79.14 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.007507, allocations: 4 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.007512, allocations: 11.92 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007515, allocations: 0 / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.007811, allocations: 373 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007812, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.007857, allocations: 19.92 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.007861, allocations: 4 kB / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.007868, allocations: 0 / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.00787, allocations: 0 / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.007871, allocations: 0 / 382 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.007992, allocations: 243.5 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.008, allocations: 7.953 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.008014, allocations: 4 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.507e-05/0.008049, allocations: 0 / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.008084, allocations: 19.86 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.00809, allocations: 4 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.165e-05/0.008161, allocations: 167.2 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008161, allocations: 0 / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000176/0.008337, allocations: 16 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00101/0.009348, allocations: 452.7 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.009464, allocations: 47.64 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009466, allocations: 3.938 kB / 382.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.084e-05/0.009496, allocations: 27.67 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.00974, allocations: 19.95 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.0101, allocations: 237.8 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.119e-05/0.01015, allocations: 63.34 kB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.867e-05/0.01018, allocations: 21.08 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.01022, allocations: 16.5 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01022, allocations: 0 / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of Templates: time 0.003367/0.01359, allocations: 1.382 MB / 384.7 MB, free: 12.13 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.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: 3.308026234153658]