Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 113.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 183.1 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2391/0.2391, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 71.89 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.5193, allocations: 60.82 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004116/0.5234, allocations: 1.943 MB / 0.5209 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.5256, allocations: 1.043 MB / 0.5219 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.5257, allocations: 6.062 kB / 0.5219 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009448/0.5267, allocations: 207.2 kB / 0.5221 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004555/0.5272, allocations: 152.1 kB / 0.5222 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000772/0.528, allocations: 228.9 kB / 0.5224 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.5283, allocations: 254.6 kB / 0.5227 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.5285, allocations: 23.83 kB / 0.5227 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.5287, allocations: 111.1 kB / 0.5228 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.5289, allocations: 100.4 kB / 0.5229 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.5289, allocations: 10.06 kB / 0.5229 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.5291, allocations: 62.28 kB / 0.523 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.5292, allocations: 49.34 kB / 0.523 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.885e-05/0.5293, allocations: 86.47 kB / 0.5231 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.5297, allocations: 236.4 kB / 0.5233 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.5298, allocations: 0.9375 kB / 0.5233 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5298, allocations: 0 / 0.5233 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.5298, allocations: 0 / 0.5233 GB, free: 0.8945 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001019/0.5308, allocations: 0.5397 MB / 0.5239 GB, free: 404 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.5309, allocations: 9.219 kB / 0.5239 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.361e-05/0.531, allocations: 24.11 kB / 0.5239 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.5314, allocations: 291.2 kB / 0.5242 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.5314, allocations: 4.031 kB / 0.5242 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.5314, allocations: 8.406 kB / 0.5242 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.5317, allocations: 98.03 kB / 0.5243 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.5317, allocations: 2.328 kB / 0.5243 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.5318, allocations: 4 kB / 0.5243 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.5318, allocations: 6.25 kB / 0.5243 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.5319, allocations: 43.17 kB / 0.5243 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006624/0.5326, allocations: 378.6 kB / 0.5247 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.5329, allocations: 123.9 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.5331, allocations: 45.59 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.5331, allocations: 3.359 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.5334, allocations: 116.4 kB / 0.525 GB, free: 15.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.5334, allocations: 4 kB / 0.525 GB, free: 15.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005092/0.5339, allocations: 173.9 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/0.534, allocations: 113.3 kB / 0.5252 GB, free: 15.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004377/0.5344, allocations: 329.9 kB / 0.5256 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.5345, allocations: 30.86 kB / 0.5256 GB, free: 15.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.5346, allocations: 133.5 kB / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.5346, allocations: 31.41 kB / 0.5258 GB, free: 14.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/0.5347, allocations: 35.58 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.5349, allocations: 341.4 kB / 0.5261 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.535, allocations: 33.09 kB / 0.5261 GB, free: 14.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.5351, allocations: 72.52 kB / 0.5262 GB, free: 14.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.5353, allocations: 102.6 kB / 0.5263 GB, free: 14.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.5354, allocations: 1.375 kB / 0.5263 GB, free: 14.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003027/0.5357, allocations: 143 kB / 0.5264 GB, free: 14.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.5357, allocations: 5.5 kB / 0.5265 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5357, allocations: 1.375 kB / 0.5265 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.5357, allocations: 2.031 kB / 0.5265 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.5359, allocations: 24.59 kB / 0.5265 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.5359, allocations: 5.891 kB / 0.5265 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.703e-05/0.536, allocations: 19.36 kB / 0.5265 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.536, allocations: 8.062 kB / 0.5265 GB, free: 14.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001869/0.5362, allocations: 149 kB / 0.5267 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.964e-05/0.5363, allocations: 27.47 kB / 0.5267 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.845e-05/0.5363, allocations: 23.27 kB / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.5364, allocations: 1.375 kB / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.5364, allocations: 1.375 kB / 0.5267 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.5364, allocations: 4.797 kB / 0.5267 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.5367, allocations: 251.1 kB / 0.5269 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5367, allocations: 5.922 kB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.5368, allocations: 7.578 kB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5368, allocations: 0.7031 kB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.5368, allocations: 11.53 kB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5368, allocations: 2.031 kB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.5368, allocations: 0 / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.5372, allocations: 187.9 kB / 0.5272 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/0.5373, allocations: 101 kB / 0.5272 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.5374, allocations: 6.172 kB / 0.5273 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.5375, allocations: 6.75 kB / 0.5273 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.5375, allocations: 8.359 kB / 0.5273 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.5376, allocations: 13.42 kB / 0.5273 GB, free: 13.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003728/0.538, allocations: 245.5 kB / 0.5275 GB, free: 13.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.538, allocations: 4.906 kB / 0.5275 GB, free: 13.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003378/0.5383, allocations: 36.53 kB / 0.5276 GB, free: 13.55 MB / 398.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001182/0.5395, allocations: 425.2 kB / 0.528 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.5398, allocations: 92.89 kB / 0.5281 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5399, allocations: 0 / 0.5281 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.54, allocations: 46.7 kB / 0.5281 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.5405, allocations: 66.77 kB / 0.5282 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.5415, allocations: 365.7 kB / 0.5285 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.5419, allocations: 0.7466 MB / 0.5292 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.5421, allocations: 36.66 kB / 0.5293 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.212e-05/0.5422, allocations: 25.67 kB / 0.5293 GB, free: 12.23 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5422, allocations: 0 / 0.5293 GB, free: 12.23 MB / 398.1 MB Notification: Performance of Templates: time 0.007879/0.5501, allocations: 2.995 MB / 0.5322 GB, free: 10.73 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches