Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009734/0.0009732, allocations: 196.7 kB / 17.43 MB, free: 4.25 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008006/0.0008006, allocations: 97.53 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3542/0.3542, allocations: 45 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002682, allocations: 8 kB / 470.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3488, allocations: 63.1 MB / 0.5214 GB, free: 38.45 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.00174/0.3506, allocations: 1.4 MB / 0.5227 GB, free: 37.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.352, allocations: 1.323 MB / 0.524 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.597e-05/0.3521, allocations: 0 / 0.524 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.3524, allocations: 63.95 kB / 0.5241 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.3526, allocations: 82.66 kB / 0.5242 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.3529, allocations: 89.77 kB / 0.5243 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.353, allocations: 99.97 kB / 0.5244 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.3531, allocations: 6.359 kB / 0.5244 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.289e-05/0.3531, allocations: 39.14 kB / 0.5244 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.422e-05/0.3532, allocations: 38.25 kB / 0.5244 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3532, allocations: 2.938 kB / 0.5244 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.3533, allocations: 25.64 kB / 0.5245 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.3534, allocations: 29.92 kB / 0.5245 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.3534, allocations: 73.39 kB / 0.5246 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.3536, allocations: 117.5 kB / 0.5247 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3536, allocations: 4 kB / 0.5247 GB, free: 36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3536, allocations: 0 / 0.5247 GB, free: 36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3536, allocations: 0 / 0.5247 GB, free: 36 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004316/0.3541, allocations: 420.8 kB / 0.5251 GB, free: 35.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3541, allocations: 8.469 kB / 0.5251 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.3541, allocations: 10.56 kB / 0.5251 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.3543, allocations: 218.4 kB / 0.5253 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3544, allocations: 384 / 0.5253 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.3544, allocations: 10 kB / 0.5253 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.3545, allocations: 48.64 kB / 0.5254 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3545, allocations: 0 / 0.5254 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3545, allocations: 2.875 kB / 0.5254 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3545, allocations: 4 kB / 0.5254 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.042e-05/0.3546, allocations: 15.2 kB / 0.5254 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.3548, allocations: 197.3 kB / 0.5256 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3549, allocations: 50.66 kB / 0.5256 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.425e-05/0.355, allocations: 21.78 kB / 0.5256 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.355, allocations: 7.031 kB / 0.5257 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.3551, allocations: 60.81 kB / 0.5257 GB, free: 34.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.502e-06/0.3552, allocations: 0 / 0.5257 GB, free: 34.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002361/0.3554, allocations: 103.4 kB / 0.5258 GB, free: 34.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.3554, allocations: 55.34 kB / 0.5259 GB, free: 34.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.3556, allocations: 269 kB / 0.5261 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.3557, allocations: 25.7 kB / 0.5261 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.3557, allocations: 119.1 kB / 0.5263 GB, free: 34.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.3557, allocations: 14.67 kB / 0.5263 GB, free: 34.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-06/0.3557, allocations: 0 / 0.5263 GB, free: 34.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.506e-05/0.3558, allocations: 327.3 kB / 0.5266 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.1e-05/0.3558, allocations: 13.78 kB / 0.5266 GB, free: 34.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.112e-05/0.3559, allocations: 25.92 kB / 0.5266 GB, free: 34.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.356, allocations: 50.48 kB / 0.5267 GB, free: 34.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.356, allocations: 0 / 0.5267 GB, free: 34.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001473/0.3561, allocations: 95.7 kB / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3562, allocations: 5.812 kB / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3562, allocations: 0 / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3562, allocations: 2.969 kB / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.632e-05/0.3563, allocations: 8.656 kB / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3563, allocations: 0 / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.3563, allocations: 9.5 kB / 0.5268 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.3563, allocations: 10.81 kB / 0.5268 GB, free: 34.11 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.093e-05/0.3564, allocations: 135.3 kB / 0.5269 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.3564, allocations: 13.44 kB / 0.5269 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.3565, allocations: 21.2 kB / 0.527 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3565, allocations: 0 / 0.527 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3565, allocations: 0 / 0.527 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3565, allocations: 0 / 0.527 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.3566, allocations: 205.2 kB / 0.5272 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3566, allocations: 0 / 0.5272 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.3566, allocations: 6.281 kB / 0.5272 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3567, allocations: 4 kB / 0.5272 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3567, allocations: 6.938 kB / 0.5272 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3567, allocations: 0 / 0.5272 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3567, allocations: 3.984 kB / 0.5272 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.3568, allocations: 114.4 kB / 0.5273 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.3569, allocations: 87.06 kB / 0.5274 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3569, allocations: 0 / 0.5274 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.3569, allocations: 10.78 kB / 0.5274 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.357, allocations: 9.5 kB / 0.5274 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.357, allocations: 2.719 kB / 0.5274 GB, free: 33.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3571, allocations: 198.4 kB / 0.5276 GB, free: 33.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3571, allocations: 0 / 0.5276 GB, free: 33.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001872/0.3573, allocations: 25.8 kB / 0.5276 GB, free: 33.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.0008384/0.3582, allocations: 471.7 kB / 0.5281 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.3583, allocations: 49.91 kB / 0.5281 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3583, allocations: 0 / 0.5281 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.126e-05/0.3584, allocations: 15.19 kB / 0.5281 GB, free: 33.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.3586, allocations: 31.64 kB / 0.5281 GB, free: 33.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.359, allocations: 304 kB / 0.5284 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.3592, allocations: 0.7117 MB / 0.5291 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.556e-05/0.3592, allocations: 11.94 kB / 0.5291 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.3593, allocations: 17.72 kB / 0.5292 GB, free: 32.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3593, allocations: 4 kB / 0.5292 GB, free: 32.2 MB / 378.7 MB Notification: Performance of Templates: time 0.003514/0.3628, allocations: 1.456 MB / 0.5306 GB, free: 32.02 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches