Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.001081/0.001081, 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.001237/0.001237, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.076/1.076, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.2738/0.2738, allocations: 34.27 MB / 296 MB, free: 0.6758 MB / 266.7 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.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.867e-05, allocations: 5.688 kB / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002023/0.002042, allocations: 1.638 MB / 379.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007324/0.002774, allocations: 0.5492 MB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.002834, allocations: 0 / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.003036, allocations: 19.8 kB / 380.2 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.003276, allocations: 87.55 kB / 380.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.003492, allocations: 91.69 kB / 380.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.003638, allocations: 79.7 kB / 380.5 MB, free: 468 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.003729, allocations: 11.94 kB / 380.5 MB, free: 456 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.003786, allocations: 35.89 kB / 380.5 MB, free: 420 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.003858, allocations: 31.89 kB / 380.6 MB, free: 388 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.003873, allocations: 4 kB / 380.6 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.004024, allocations: 91.88 kB / 380.7 MB, free: 292 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.004065, allocations: 15.94 kB / 380.7 MB, free: 276 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.004099, allocations: 19.92 kB / 380.7 MB, free: 256 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.004322, allocations: 147.5 kB / 380.8 MB, free: 108 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004324, allocations: 0 / 380.8 MB, free: 108 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.004325, allocations: 0 / 380.8 MB, free: 108 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.00433, allocations: 0 / 380.8 MB, free: 108 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004277/0.004757, allocations: 431.9 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.004796, allocations: 12.03 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.00484, allocations: 12.83 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.004985, allocations: 146.4 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.004993, allocations: 384 / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.005013, allocations: 4.375 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.005144, allocations: 108 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.005153, allocations: 192 / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.005166, allocations: 8.125 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.005175, allocations: 3.984 kB / 381.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.005209, allocations: 15.92 kB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.005525, allocations: 283.8 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.002e-05/0.005595, allocations: 47.05 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.005621, allocations: 15.81 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.005644, allocations: 4 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.005667, allocations: 45.27 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.005668, allocations: 0 / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003732/0.006041, allocations: 137.3 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.006079, allocations: 77.11 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.006206, allocations: 212.4 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.006218, allocations: 25.7 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.006271, allocations: 146.9 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.006291, allocations: 23.73 kB / 382.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.006323, allocations: 31.38 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.006451, allocations: 0.4923 MB / 383.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.63e-05/0.006477, allocations: 15.98 kB / 383.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.645e-05/0.006524, allocations: 57.06 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.297e-05/0.006577, allocations: 39.62 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.006577, allocations: 0 / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001049/0.006682, allocations: 81.52 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.006699, allocations: 4 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.006705, allocations: 0 / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.006719, allocations: 0 / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.006795, allocations: 19.98 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.006801, allocations: 0 / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.006823, allocations: 8.031 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.006829, allocations: 0 / 383.3 MB, free: 13.4 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 (9): * Single equations (assignments): 9 * 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.112e-05/0.00691, allocations: 164.6 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.006936, allocations: 15.84 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.007072, allocations: 90.45 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.007074, allocations: 0 / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.007077, allocations: 4 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.007081, allocations: 0 / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.007352, allocations: 357.3 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007353, allocations: 0 / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.007389, allocations: 16 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.007391, allocations: 4 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.007398, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.0074, allocations: 3.984 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007401, allocations: 0 / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.007512, allocations: 223.8 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.007519, allocations: 3.953 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.007533, allocations: 8 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.007568, allocations: 4.359 kB / 384.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.007595, allocations: 7.938 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.007599, allocations: 8 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.793e-05/0.007667, allocations: 157.7 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007667, allocations: 4 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001919/0.007859, allocations: 39.86 kB / 384.4 MB, free: 12.23 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 (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.001035/0.008894, allocations: 0.5042 MB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.009007, allocations: 43.61 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.009009, allocations: 0 / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.209e-05/0.009041, allocations: 31.67 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.009239, allocations: 15.98 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.00955, allocations: 190.3 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.091e-05/0.009591, allocations: 67.28 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.922e-05/0.00964, allocations: 28.61 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.009676, allocations: 24.48 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.009676, allocations: 3.938 kB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of Templates: time 0.003469/0.01315, allocations: 2.038 MB / 387.3 MB, free: 9.422 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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.211874023079872]