Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.002115/0.002115, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002258/0.002258, allocations: 160.8 kB / 24.27 MB, free: 156 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.599/1.599, allocations: 177 MB / 204.4 MB, free: 5.633 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.3494/0.3494, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 180] 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 377.3 MB, free: 2.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.215e-05/3.448e-05, allocations: 2.312 kB / 377.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.004663/0.004698, allocations: 1.821 MB / 379.1 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003065/0.007763, allocations: 1.077 MB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.00787, allocations: 3.938 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007896/0.00866, allocations: 303.2 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007538/0.009414, allocations: 267 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.009777, allocations: 111.6 kB / 380.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004856/0.01026, allocations: 267.2 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.06e-05/0.01032, allocations: 9.797 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000318/0.01064, allocations: 151.6 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.01104, allocations: 207.6 kB / 381.5 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.01109, allocations: 8 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.01124, allocations: 51.86 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.01147, allocations: 139.6 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.01162, allocations: 75.59 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006551/0.01228, allocations: 354.8 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.01228, allocations: 0 / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01228, allocations: 4 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.01229, allocations: 0 / 382.1 MB, free: 14.01 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001592/0.01388, allocations: 0.8055 MB / 382.9 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.01393, allocations: 16.03 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.01407, allocations: 56.56 kB / 383 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009919/0.01506, allocations: 340.6 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.01508, allocations: 4.359 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.0151, allocations: 4.375 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.01536, allocations: 85.53 kB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.01537, allocations: 192 / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.01539, allocations: 4.375 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.01539, allocations: 7.938 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.01554, allocations: 27.97 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.0162, allocations: 356.2 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.0166, allocations: 118.1 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.01673, allocations: 39.36 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.01676, allocations: 3.938 kB / 383.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.01707, allocations: 120.3 kB / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.01707, allocations: 0 / 384.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000702/0.01777, allocations: 201.2 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/0.01785, allocations: 81.05 kB / 384.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.01927, allocations: 0.78 MB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.0193, allocations: 29.7 kB / 385.1 MB, free: 10.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/0.01973, allocations: 326.8 kB / 385.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/0.0198, allocations: 27.86 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.575e-05/0.01988, allocations: 35.36 kB / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005165/0.0204, allocations: 0.5821 MB / 386.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.02051, allocations: 19.98 kB / 386.1 MB, free: 9.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.02068, allocations: 66.73 kB / 386.2 MB, free: 9.648 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.02096, allocations: 99.17 kB / 386.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.02096, allocations: 4 kB / 386.3 MB, free: 9.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004691/0.02143, allocations: 177.2 kB / 386.5 MB, free: 9.352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.02145, allocations: 8 kB / 386.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.02146, allocations: 0 / 386.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.02148, allocations: 0 / 386.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.02168, allocations: 27.92 kB / 386.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.02168, allocations: 0 / 386.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.02183, allocations: 15.89 kB / 386.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.02185, allocations: 4 kB / 386.5 MB, free: 9.297 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002297/0.02208, allocations: 178.1 kB / 386.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.0222, allocations: 63.64 kB / 386.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005295/0.02273, allocations: 173.9 kB / 386.9 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.02273, allocations: 0 / 386.9 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.02274, allocations: 3.938 kB / 386.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.02275, allocations: 3.984 kB / 386.9 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.02335, allocations: 360.4 kB / 387.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.02335, allocations: 0 / 387.3 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/0.02341, allocations: 11.98 kB / 387.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.02342, allocations: 0 / 387.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.02344, allocations: 8.25 kB / 387.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.02344, allocations: 8 kB / 387.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.02345, allocations: 0 / 387.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.02397, allocations: 235.5 kB / 387.5 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.02418, allocations: 67.55 kB / 387.6 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.02425, allocations: 8 kB / 387.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.02436, allocations: 3.984 kB / 387.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.02443, allocations: 15.92 kB / 387.6 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.02446, allocations: 8 kB / 387.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000891/0.02535, allocations: 0.4988 MB / 388.1 MB, free: 7.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.02535, allocations: 0 / 388.1 MB, free: 7.598 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004326/0.02578, allocations: 48 kB / 388.2 MB, free: 7.551 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003807/0.02959, allocations: 441.2 kB / 388.6 MB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003775/0.02997, allocations: 91.58 kB / 388.7 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.02997, allocations: 0 / 388.7 MB, free: 7.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.03014, allocations: 51.61 kB / 388.8 MB, free: 7.117 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000668/0.03081, allocations: 70.12 kB / 388.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.03241, allocations: 0.6871 MB / 389.5 MB, free: 6.324 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.03278, allocations: 229.8 kB / 389.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.03292, allocations: 42.94 kB / 389.8 MB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.03302, allocations: 32.48 kB / 389.8 MB, free: 6.004 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.03302, allocations: 0 / 389.8 MB, free: 6.004 MB / 362.7 MB Notification: Performance of Templates: time 0.01393/0.04695, allocations: 4.014 MB / 393.8 MB, free: 2.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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: 5.024220069986768]