Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001855/0.001854, allocations: 115.4 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002313/0.002313, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2257/0.2257, allocations: 46.1 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 77.94 kB / 417 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1076, allocations: 62.45 MB / 479.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003236/0.1109, allocations: 1.804 MB / 481.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.1126, allocations: 1.013 MB / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1127, allocations: 3.938 kB / 482.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.1131, allocations: 79.83 kB / 482.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.1135, allocations: 111.6 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.1137, allocations: 67.86 kB / 482.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.114, allocations: 115.7 kB / 482.7 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1141, allocations: 15.97 kB / 482.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.1143, allocations: 63.7 kB / 482.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1144, allocations: 71.75 kB / 482.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.1144, allocations: 4 kB / 482.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1146, allocations: 63.97 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.57e-05/0.1147, allocations: 23.91 kB / 482.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.473e-05/0.1148, allocations: 47.67 kB / 483 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.1151, allocations: 139.8 kB / 483.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1151, allocations: 0 / 483.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1151, allocations: 0 / 483.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1151, allocations: 0 / 483.1 MB, free: 2.016 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006839/0.1158, allocations: 442.8 kB / 483.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.1159, allocations: 12.03 kB / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.761e-05/0.1159, allocations: 8.844 kB / 483.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.1162, allocations: 225.6 kB / 483.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1163, allocations: 384 / 483.8 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.1163, allocations: 16.11 kB / 483.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.1165, allocations: 61.59 kB / 483.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1165, allocations: 4 kB / 483.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1166, allocations: 4 kB / 483.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1166, allocations: 0 / 483.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.089e-05/0.1167, allocations: 19.98 kB / 483.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.1172, allocations: 300.7 kB / 484.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.1175, allocations: 66.48 kB / 484.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.629e-05/0.1175, allocations: 24.97 kB / 484.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.1176, allocations: 4 kB / 484.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.1178, allocations: 67.38 kB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.1178, allocations: 4 kB / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008551/0.1187, allocations: 245 kB / 484.6 MB, free: 376 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.1188, allocations: 55.34 kB / 484.6 MB, free: 308 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.119, allocations: 246.1 kB / 484.9 MB, free: 52 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.1191, allocations: 25.7 kB / 484.9 MB, free: 20 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.1191, allocations: 112.1 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.1192, allocations: 35.48 kB / 485 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.1193, allocations: 25.72 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1194, allocations: 326.8 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.1195, allocations: 28 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.334e-05/0.1196, allocations: 53.69 kB / 485.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.1197, allocations: 69.72 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1197, allocations: 3.938 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002426/0.12, allocations: 133.4 kB / 485.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.12, allocations: 4 kB / 485.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.12, allocations: 0 / 485.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.12, allocations: 0 / 485.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.1201, allocations: 32.02 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1201, allocations: 7.875 kB / 485.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.1202, allocations: 0 / 485.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1202, allocations: 4 kB / 485.7 MB, free: 15.16 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 (13): * Single equations (assignments): 13 * 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.0001355/0.1204, allocations: 133.8 kB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.1204, allocations: 11.81 kB / 485.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.592e-05/0.1205, allocations: 25.39 kB / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1205, allocations: 0 / 485.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.1205, allocations: 11.94 kB / 485.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.1205, allocations: 7.984 kB / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/0.1212, allocations: 455.9 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1212, allocations: 4 kB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.439e-05/0.1213, allocations: 15.98 kB / 486.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1213, allocations: 0 / 486.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.1213, allocations: 4 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1213, allocations: 4.062 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1213, allocations: 3.938 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.1217, allocations: 233.2 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.652e-05/0.1218, allocations: 88.92 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.1218, allocations: 4 kB / 486.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.1219, allocations: 8 kB / 486.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.1219, allocations: 11.98 kB / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.122, allocations: 4 kB / 486.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.1222, allocations: 172.4 kB / 486.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1222, allocations: 3.938 kB / 486.9 MB, free: 13.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.1225, allocations: 32 kB / 486.9 MB, free: 13.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001194/0.1237, allocations: 0.5074 MB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.124, allocations: 87.91 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.124, allocations: 0 / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.1241, allocations: 39.92 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1244, allocations: 30.16 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006208/0.1251, allocations: 324.8 kB / 487.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.1254, allocations: 0.7157 MB / 488.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.415e-05/0.1255, allocations: 20.64 kB / 488.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.1256, allocations: 19.44 kB / 488.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1256, allocations: 0 / 488.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of Templates: time 0.004989/0.1306, allocations: 1.983 MB / 490.6 MB, free: 10.26 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches