Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001546, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001532/0.001532, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.366/0.366, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.097e-05, allocations: 2.312 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003347/0.003378, allocations: 1.719 MB / 379 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.005355, allocations: 0.997 MB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.094e-05/0.005426, allocations: 0 / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.005743, allocations: 43.66 kB / 380.1 MB, free: 40 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.006115, allocations: 87.53 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.006358, allocations: 87.59 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.006564, allocations: 115.6 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.435e-05/0.006658, allocations: 7.938 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.006787, allocations: 67.75 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.83e-05/0.006875, allocations: 27.91 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.006896, allocations: 8 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.007099, allocations: 107.9 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.007166, allocations: 19.91 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.007222, allocations: 23.92 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.007556, allocations: 187.3 kB / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.007559, allocations: 0 / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.00756, allocations: 0 / 380.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.007564, allocations: 0 / 380.8 MB, free: 15.31 MB / 362.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.0006469/0.008211, allocations: 357.4 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.008248, allocations: 8.031 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.568e-05/0.008314, allocations: 12.89 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.008629, allocations: 169.2 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.008642, allocations: 384 / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.008675, allocations: 12.33 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.008884, allocations: 93.66 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.008895, allocations: 192 / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.008905, allocations: 384 / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.008915, allocations: 3.938 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.015e-05/0.009005, allocations: 31.91 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.00939, allocations: 216.6 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.009605, allocations: 66.61 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.00968, allocations: 28.97 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.009696, allocations: 0 / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.009872, allocations: 83.25 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.009873, allocations: 0 / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007142/0.01059, allocations: 209.4 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.01066, allocations: 77.11 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.01088, allocations: 174.2 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.01091, allocations: 29.7 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.01099, allocations: 100.1 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.01103, allocations: 23.81 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.01109, allocations: 29.7 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.01129, allocations: 322.8 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.507e-05/0.01137, allocations: 31.98 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.0115, allocations: 91.5 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.01167, allocations: 77.7 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01167, allocations: 0 / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002714/0.01194, allocations: 129.5 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.01196, allocations: 12.06 kB / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.01197, allocations: 0 / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.01199, allocations: 0 / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.0121, allocations: 19.98 kB / 383.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.01211, allocations: 4.469 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.01217, allocations: 4 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.01218, allocations: 7.984 kB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001333/0.01232, allocations: 135.9 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.01236, allocations: 19.84 kB / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.01268, allocations: 142.4 kB / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.01268, allocations: 3.984 kB / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.01269, allocations: 0 / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01269, allocations: 0 / 383.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006088/0.0133, allocations: 374.8 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.0133, allocations: 4 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.01335, allocations: 8 kB / 383.8 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.01336, allocations: 4 kB / 383.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.01337, allocations: 4 kB / 383.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.01338, allocations: 3.984 kB / 383.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.01338, allocations: 11.97 kB / 383.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.0137, allocations: 228.2 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.01373, allocations: 11.94 kB / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.01376, allocations: 8 kB / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.01385, allocations: 4 kB / 384.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.0139, allocations: 7.984 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.01392, allocations: 8 kB / 384.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001426/0.01406, allocations: 136 kB / 384.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01406, allocations: 0 / 384.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003272/0.01439, allocations: 51.86 kB / 384.3 MB, free: 11.51 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002553/0.01694, allocations: 0.582 MB / 384.9 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002532/0.01719, allocations: 71.91 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.0172, allocations: 4 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.543e-05/0.01729, allocations: 39.98 kB / 385 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.01767, allocations: 46.61 kB / 385 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/0.01822, allocations: 221.5 kB / 385.3 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.01832, allocations: 85.44 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.006e-05/0.0184, allocations: 28.69 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.01846, allocations: 20.5 kB / 385.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01846, allocations: 0 / 385.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of Templates: time 0.006851/0.02531, allocations: 2.681 MB / 388.1 MB, free: 7.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.894604920991696]