Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2149/0.2149, allocations: 46.12 MB / 344.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 74.91 kB / 417.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1099, allocations: 62.46 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003081/0.113, allocations: 1.72 MB / 481.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.1146, allocations: 1.021 MB / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.1147, allocations: 4 kB / 482.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.115, allocations: 47.75 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.1154, allocations: 95.53 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.1156, allocations: 75.69 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.1158, allocations: 103.7 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1159, allocations: 16 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.95e-05/0.116, allocations: 35.8 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.1161, allocations: 43.77 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1161, allocations: 8 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-05/0.1162, allocations: 39.98 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.1163, allocations: 19.92 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.1163, allocations: 35.69 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1165, allocations: 119.9 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.1165, allocations: 4 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1165, allocations: 0 / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1166, allocations: 0 / 483.5 MB, free: 1.809 MB / 350.1 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.0005343/0.1171, allocations: 418.9 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1171, allocations: 16.03 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.1172, allocations: 8.844 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1174, allocations: 219.9 kB / 484.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1175, allocations: 4.375 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1175, allocations: 8.062 kB / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1176, allocations: 53.67 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1177, allocations: 3.984 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1177, allocations: 4 kB / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1177, allocations: 0 / 484.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.271e-05/0.1178, allocations: 15.98 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.1181, allocations: 292.9 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.1183, allocations: 62.61 kB / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.1183, allocations: 16.86 kB / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1184, allocations: 0 / 484.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.1186, allocations: 71.39 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1186, allocations: 0 / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005445/0.1191, allocations: 181 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.1192, allocations: 51.41 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.1194, allocations: 206.3 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.1194, allocations: 25.7 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.1195, allocations: 108.1 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.1195, allocations: 23.7 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.1196, allocations: 17.72 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1197, allocations: 334.8 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.688e-05/0.1198, allocations: 19.94 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.171e-05/0.1198, allocations: 37.64 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.1199, allocations: 69.77 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1199, allocations: 0 / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001722/0.1201, allocations: 101.4 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1201, allocations: 8 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1202, allocations: 384 / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1202, allocations: 0 / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/0.1203, allocations: 19.97 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1203, allocations: 4 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.1203, allocations: 11.94 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1203, allocations: 8.031 kB / 485.8 MB, free: 15.2 MB / 366.1 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 (10): * Single equations (assignments): 10 * 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 9.844e-05/0.1205, allocations: 136.4 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.1205, allocations: 11.91 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.1205, allocations: 17.58 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1205, allocations: 4 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1205, allocations: 3.938 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1206, allocations: 3.938 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.121, allocations: 399.2 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.121, allocations: 0 / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.121, allocations: 11.98 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.121, allocations: 0 / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.121, allocations: 7.938 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.121, allocations: 0 / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.121, allocations: 0 / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.1213, allocations: 204.3 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.1214, allocations: 92.91 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.1214, allocations: 3.938 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.791e-05/0.1215, allocations: 8 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.1215, allocations: 7.984 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1215, allocations: 4 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1217, allocations: 156.8 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1217, allocations: 0 / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1219, allocations: 28 kB / 486.9 MB, free: 14.02 MB / 366.1 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 (8): * Single equations (assignments): 6 * 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.001035/0.123, allocations: 450.7 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.1232, allocations: 71.89 kB / 487.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1232, allocations: 4.062 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.1233, allocations: 27.92 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1236, allocations: 33.05 kB / 487.5 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.1241, allocations: 239 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.1245, allocations: 0.7119 MB / 488.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.557e-05/0.1245, allocations: 12.89 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.1246, allocations: 19.42 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1246, allocations: 4 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of Templates: time 0.004596/0.1292, allocations: 1.725 MB / 490.2 MB, free: 10.85 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches