Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001029/0.001029, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001099/0.001099, allocations: 157.1 kB / 24.99 MB, free: 8.219 MB / 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 0.9517/0.9517, allocations: 177 MB / 205.2 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] 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.2723/0.2723, allocations: 34.86 MB / 296.6 MB, free: 0.5547 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 378.8 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.179e-05, allocations: 2.312 kB / 378.8 MB, free: 2.336 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.0055/0.005512, allocations: 1.952 MB / 380.8 MB, free: 376 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.006855, allocations: 1.047 MB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.361e-05/0.006929, allocations: 3.938 kB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.007114, allocations: 51.58 kB / 381.9 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.01036, allocations: 99.47 kB / 382 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.01055, allocations: 99.58 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.01073, allocations: 155.5 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.581e-05/0.0108, allocations: 17.8 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.349e-05/0.0109, allocations: 75.8 kB / 382.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.123e-05/0.01097, allocations: 35.84 kB / 382.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.01098, allocations: 8 kB / 382.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-05/0.01107, allocations: 51.91 kB / 382.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.01111, allocations: 27.86 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.01116, allocations: 31.91 kB / 382.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.01136, allocations: 131.4 kB / 382.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.01136, allocations: 4 kB / 382.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.01136, allocations: 4 kB / 382.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.545e-06/0.01137, allocations: 0 / 382.6 MB, free: 14.53 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004311/0.0118, allocations: 0.4935 MB / 383.1 MB, free: 14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.524e-05/0.01182, allocations: 8.031 kB / 383.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.01187, allocations: 24.8 kB / 383.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.01205, allocations: 177.1 kB / 383.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.01206, allocations: 4.375 kB / 383.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.01208, allocations: 8.375 kB / 383.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.01238, allocations: 150 kB / 383.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.01239, allocations: 192 / 383.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.0124, allocations: 4.375 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.0124, allocations: 3.938 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.124e-05/0.01247, allocations: 27.98 kB / 383.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.01289, allocations: 0.5833 MB / 384.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.01307, allocations: 75.16 kB / 384.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.01311, allocations: 27.62 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.01312, allocations: 4 kB / 384.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/0.01325, allocations: 102.7 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.01325, allocations: 0 / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001938/0.01344, allocations: 109.5 kB / 384.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.01347, allocations: 59.41 kB / 384.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.01362, allocations: 247.1 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.01364, allocations: 25.7 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.01372, allocations: 166.8 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.01374, allocations: 35.72 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.01379, allocations: 31.38 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.01391, allocations: 0.5078 MB / 385.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-05/0.01394, allocations: 11.94 kB / 385.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.568e-05/0.014, allocations: 69.61 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.146e-05/0.01409, allocations: 82.36 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01409, allocations: 4 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000155/0.01425, allocations: 117.5 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.01426, allocations: 8 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.01426, allocations: 0 / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.01427, allocations: 4 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.01435, allocations: 23.92 kB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.01435, allocations: 4 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.0144, allocations: 7.938 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.0144, allocations: 8 kB / 385.8 MB, free: 11.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 7.832e-05/0.01448, allocations: 168.5 kB / 386 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.01451, allocations: 27.92 kB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.01466, allocations: 99.12 kB / 386.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.01466, allocations: 4 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01466, allocations: 0 / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01467, allocations: 0 / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.0148, allocations: 164.5 kB / 386.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.0148, allocations: 3.938 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/0.01485, allocations: 8 kB / 386.3 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.01485, allocations: 4 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01486, allocations: 4 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01486, allocations: 3.984 kB / 386.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01487, allocations: 4 kB / 386.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.01506, allocations: 156.2 kB / 386.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.01508, allocations: 15.84 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.0151, allocations: 3.984 kB / 386.4 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.777e-05/0.01514, allocations: 8 kB / 386.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.01517, allocations: 7.984 kB / 386.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.01518, allocations: 8 kB / 386.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.646e-05/0.01528, allocations: 175.1 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01528, allocations: 0 / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002109/0.01549, allocations: 24 kB / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007097/0.0162, allocations: 381.8 kB / 387 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.657e-05/0.01629, allocations: 67.66 kB / 387.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.0163, allocations: 0 / 387.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.01633, allocations: 35.61 kB / 387.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.0165, allocations: 43.84 kB / 387.2 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002908/0.01679, allocations: 250.4 kB / 387.4 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.319e-05/0.01683, allocations: 71.83 kB / 387.5 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.155e-05/0.01687, allocations: 25.58 kB / 387.5 MB, free: 9.312 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.01689, allocations: 16.5 kB / 387.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0169, allocations: 0 / 387.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of Templates: time 0.003116/0.02001, allocations: 2.056 MB / 389.6 MB, free: 7.273 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/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: 3.123957011150196]