Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001169, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 77.72 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1062, allocations: 62.45 MB / 480.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003358/0.1096, allocations: 1.713 MB / 482.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.112, allocations: 1.627 MB / 484.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1122, allocations: 4 kB / 484.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.1124, allocations: 35.78 kB / 484.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003807/0.1129, allocations: 99.53 kB / 484.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.1131, allocations: 83.59 kB / 484.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1133, allocations: 103.7 kB / 484.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1134, allocations: 15.98 kB / 484.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1135, allocations: 47.78 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.1137, allocations: 43.78 kB / 484.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.1138, allocations: 4 kB / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.114, allocations: 111.9 kB / 484.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.1141, allocations: 23.92 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.812e-05/0.1141, allocations: 31.8 kB / 484.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.1144, allocations: 167.8 kB / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1145, allocations: 0 / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1145, allocations: 4 kB / 484.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1145, allocations: 4 kB / 484.8 MB, free: 1.152 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.0005829/0.1151, allocations: 419 kB / 485.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1151, allocations: 12.03 kB / 485.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.1152, allocations: 12.83 kB / 485.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.1154, allocations: 212.6 kB / 485.5 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.1155, allocations: 3.938 kB / 485.5 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1155, allocations: 8 kB / 485.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1157, allocations: 71.33 kB / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1157, allocations: 0 / 485.5 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.1157, allocations: 4 kB / 485.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1157, allocations: 0 / 485.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.838e-05/0.1158, allocations: 15.98 kB / 485.6 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.1162, allocations: 288.9 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1164, allocations: 62.62 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.1165, allocations: 24.84 kB / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.1165, allocations: 0 / 485.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.1167, allocations: 63.39 kB / 486 MB, free: 15.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1167, allocations: 0 / 486 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005619/0.1173, allocations: 177.1 kB / 486.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.1174, allocations: 89.05 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1175, allocations: 161.5 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1176, allocations: 25.7 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.1176, allocations: 100.1 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.1177, allocations: 23.66 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.1177, allocations: 25.7 kB / 486.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1179, allocations: 322.8 kB / 486.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.258e-05/0.1179, allocations: 23.92 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.702e-05/0.118, allocations: 54.42 kB / 487 MB, free: 14.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1181, allocations: 57.7 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1181, allocations: 4 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000186/0.1183, allocations: 93.53 kB / 487.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1184, allocations: 8.062 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1184, allocations: 0 / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1184, allocations: 4 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.1185, allocations: 15.98 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1185, allocations: 3.938 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.494e-05/0.1186, allocations: 8 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1186, allocations: 4 kB / 487.2 MB, free: 14.55 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 0.0001032/0.1187, allocations: 121.8 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.1187, allocations: 11.81 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.1188, allocations: 16.72 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.1188, allocations: 7.984 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1188, allocations: 3.938 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1188, allocations: 3.984 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.1193, allocations: 399.5 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1193, allocations: 0 / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.1193, allocations: 11.94 kB / 487.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1193, allocations: 4.031 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.1193, allocations: 4.375 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1193, allocations: 0 / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1193, allocations: 4 kB / 487.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.1196, allocations: 200.2 kB / 487.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.1197, allocations: 92.94 kB / 488 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.1197, allocations: 4 kB / 488 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.1198, allocations: 8 kB / 488 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.1198, allocations: 7.984 kB / 488 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.1198, allocations: 4 kB / 488.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.12, allocations: 123.2 kB / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.12, allocations: 0 / 488.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1203, allocations: 47.98 kB / 488.2 MB, free: 13.39 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.001252/0.1215, allocations: 0.5453 MB / 488.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.1217, allocations: 59.91 kB / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1217, allocations: 0 / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.659e-05/0.1219, allocations: 27.94 kB / 488.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1222, allocations: 39.84 kB / 488.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.1227, allocations: 232.5 kB / 489.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.123, allocations: 0.6963 MB / 489.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.123, allocations: 23.42 kB / 489.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.123, allocations: 0 / 489.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of Templates: time 0.004609/0.1277, allocations: 2.411 MB / 492.2 MB, free: 9.492 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches