Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.0009778/0.0009778, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009794/0.0009794, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9418/0.9418, allocations: 177 MB / 204.8 MB, free: 5.543 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.2656/0.2656, allocations: 34.86 MB / 296.3 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 378.8 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.071e-05, allocations: 3.016 kB / 378.8 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.005967/0.005997, allocations: 1.954 MB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.007627, allocations: 1.047 MB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.007736, allocations: 4 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.00806, allocations: 51.58 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.008383, allocations: 103.4 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.008595, allocations: 99.56 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.008806, allocations: 147.5 kB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.008911, allocations: 13.81 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.009018, allocations: 83.73 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.009111, allocations: 35.84 kB / 382.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.00913, allocations: 8 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.456e-05/0.009225, allocations: 51.91 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.009285, allocations: 31.84 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.009335, allocations: 27.92 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.009556, allocations: 135.4 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.009559, allocations: 0 / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00956, allocations: 0 / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.009565, allocations: 0 / 382.6 MB, free: 14.2 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.000552/0.01012, allocations: 0.4935 MB / 383.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.01015, allocations: 12.03 kB / 383.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.01022, allocations: 28.78 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.01042, allocations: 177.1 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.01044, allocations: 4.375 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.01046, allocations: 12.36 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.01092, allocations: 139.7 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.01093, allocations: 4.172 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.01095, allocations: 384 / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.01095, allocations: 3.938 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.178e-05/0.01102, allocations: 35.91 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.01151, allocations: 0.5833 MB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.01174, allocations: 75.16 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.01179, allocations: 27.67 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.0118, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.01193, allocations: 98.69 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.01193, allocations: 0 / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002351/0.01216, allocations: 117.7 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.01219, allocations: 55.41 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.01234, allocations: 247.1 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.01235, allocations: 33.69 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.01243, allocations: 166.8 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.01245, allocations: 31.73 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/0.01249, allocations: 35.36 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.01261, allocations: 0.5 MB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.01265, allocations: 19.98 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.0127, allocations: 61.42 kB / 385.6 MB, free: 11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.109e-05/0.01279, allocations: 90.31 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.01279, allocations: 0 / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001434/0.01293, allocations: 113.5 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.01295, allocations: 4 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01295, allocations: 0 / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.01297, allocations: 4 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/0.01304, allocations: 19.98 kB / 385.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.01305, allocations: 8.062 kB / 385.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.0131, allocations: 19.92 kB / 385.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.01311, allocations: 4 kB / 385.8 MB, free: 10.71 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 8.926e-05/0.01319, allocations: 164.5 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.01321, allocations: 15.91 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.01338, allocations: 111.1 kB / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01338, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01338, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01339, allocations: 0 / 386.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.01351, allocations: 164.5 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01351, allocations: 0 / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.01357, allocations: 19.98 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01358, allocations: 0 / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01359, allocations: 0 / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.01359, allocations: 0 / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.01359, allocations: 0 / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.01379, allocations: 160.2 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.0138, allocations: 19.78 kB / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.01382, allocations: 8 kB / 386.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.988e-05/0.01385, allocations: 4 kB / 386.5 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.0139, allocations: 3.984 kB / 386.5 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.01391, allocations: 20.02 kB / 386.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.307e-05/0.014, allocations: 167.2 kB / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.014, allocations: 0 / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001812/0.01418, allocations: 31.92 kB / 386.7 MB, free: 9.77 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.0008781/0.01506, allocations: 384.4 kB / 387.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.01522, allocations: 67.53 kB / 387.1 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01523, allocations: 0 / 387.1 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/0.01527, allocations: 31.67 kB / 387.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.0155, allocations: 38.25 kB / 387.2 MB, free: 9.359 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000437/0.01594, allocations: 258.6 kB / 387.4 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.463e-05/0.01598, allocations: 71.84 kB / 387.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.981e-05/0.01603, allocations: 17.47 kB / 387.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.01607, allocations: 24.48 kB / 387.6 MB, free: 8.949 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01607, allocations: 0 / 387.6 MB, free: 8.949 MB / 362.7 MB Notification: Performance of Templates: time 0.004754/0.02082, allocations: 2.197 MB / 389.8 MB, free: 6.781 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.1845228080637753]