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) 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, allocations: 108.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001194/0.001194, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.4 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 85.39 kB / 417.1 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1085, allocations: 62.44 MB / 479.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003283/0.1118, allocations: 1.993 MB / 481.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1135, allocations: 1.045 MB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.429e-05/0.1136, allocations: 4 kB / 482.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.1139, allocations: 39.83 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.1142, allocations: 79.69 kB / 482.7 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.1144, allocations: 87.8 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.1146, allocations: 143.6 kB / 482.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1147, allocations: 25.56 kB / 482.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.612e-05/0.1148, allocations: 59.7 kB / 483 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.217e-05/0.1149, allocations: 51.66 kB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.115, allocations: 11.94 kB / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.025e-05/0.1151, allocations: 43.98 kB / 483.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.1151, allocations: 23.91 kB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.1152, allocations: 51.67 kB / 483.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.1154, allocations: 151.7 kB / 483.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1154, allocations: 3.938 kB / 483.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1154, allocations: 4 kB / 483.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1154, allocations: 4 kB / 483.3 MB, free: 1.785 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005765/0.116, allocations: 484.4 kB / 483.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.1161, allocations: 8.031 kB / 483.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.765e-05/0.1161, allocations: 20.73 kB / 483.8 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.1164, allocations: 225.6 kB / 484 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1164, allocations: 12.31 kB / 484 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1164, allocations: 8.125 kB / 484 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.1167, allocations: 112.2 kB / 484.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.1167, allocations: 0 / 484.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1167, allocations: 4 kB / 484.2 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1167, allocations: 4 kB / 484.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.1169, allocations: 51.89 kB / 484.2 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.1174, allocations: 0.5048 MB / 484.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.1178, allocations: 98.58 kB / 484.8 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.98e-05/0.1179, allocations: 36.84 kB / 484.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1179, allocations: 4 kB / 484.9 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.1182, allocations: 83.39 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.1182, allocations: 0 / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003917/0.1186, allocations: 145.4 kB / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.1186, allocations: 55.34 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.1189, allocations: 202.2 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.1189, allocations: 29.7 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.119, allocations: 112 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.119, allocations: 35.55 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.1191, allocations: 25.72 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1192, allocations: 326.8 kB / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.128e-05/0.1193, allocations: 32.36 kB / 485.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1194, allocations: 68.39 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.1196, allocations: 100.2 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1196, allocations: 0 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002913/0.1199, allocations: 137.3 kB / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1199, allocations: 10.75 kB / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.12, allocations: 4 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.12, allocations: 128 / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1201, allocations: 31.92 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.1201, allocations: 0 / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.1202, allocations: 11.92 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.1202, allocations: 4 kB / 486.2 MB, free: 14.57 MB / 366.1 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 0.0001025/0.1203, allocations: 129.8 kB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.1203, allocations: 11.81 kB / 486.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.1204, allocations: 25.39 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1204, allocations: 7.875 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1204, allocations: 4 kB / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1204, allocations: 0 / 486.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.1206, allocations: 213.4 kB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1206, allocations: 0 / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.1207, allocations: 19.98 kB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1207, allocations: 0 / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1207, allocations: 0 / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.1207, allocations: 7.938 kB / 486.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1207, allocations: 0 / 486.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.1211, allocations: 184.9 kB / 486.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.1212, allocations: 96.89 kB / 486.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1212, allocations: 0 / 486.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.1213, allocations: 7.938 kB / 486.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.1213, allocations: 7.984 kB / 486.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.1213, allocations: 8 kB / 486.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1215, allocations: 144.4 kB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1215, allocations: 4.062 kB / 487.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.1217, allocations: 27.98 kB / 487.1 MB, free: 13.59 MB / 366.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009153/0.1226, allocations: 405.4 kB / 487.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.1229, allocations: 75.91 kB / 487.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1229, allocations: 3.938 kB / 487.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.84e-05/0.123, allocations: 40.22 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.1233, allocations: 42.95 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.1239, allocations: 300.2 kB / 488 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1242, allocations: 0.7123 MB / 488.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.266e-05/0.1242, allocations: 25.36 kB / 488.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.1243, allocations: 19.38 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1243, allocations: 0 / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of Templates: time 0.004778/0.1291, allocations: 1.841 MB / 490.6 MB, free: 10.24 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches