Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001147/0.001147, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 75.89 kB / 480.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3554, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003066/0.3585, allocations: 1.693 MB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3604, allocations: 0.994 MB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.168e-05/0.3605, allocations: 1.781 kB / 0.5332 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.3608, allocations: 58.77 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000357/0.3612, allocations: 94.62 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.3614, allocations: 78.61 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.3616, allocations: 103.9 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.424e-05/0.3617, allocations: 9.734 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.3618, allocations: 41.66 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3619, allocations: 45.64 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.362, allocations: 2.75 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.3621, allocations: 32.62 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.3621, allocations: 18.8 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.551e-05/0.3622, allocations: 38.59 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.3624, allocations: 97.72 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3624, allocations: 5.375 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3624, allocations: 0 / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.3625, allocations: 0 / 0.5338 GB, free: 10.92 MB / 398.1 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.0006327/0.3631, allocations: 398.5 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.3632, allocations: 13.56 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.3632, allocations: 34.69 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.3633, allocations: 14.25 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.3636, allocations: 219.1 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3636, allocations: 5.75 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.3637, allocations: 5.312 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.3638, allocations: 47.3 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3638, allocations: 0 / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.3638, allocations: 4 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3639, allocations: 1.375 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.206e-05/0.3639, allocations: 24.09 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.3642, allocations: 178.1 kB / 0.5347 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.3643, allocations: 59.12 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.902e-05/0.3644, allocations: 21.09 kB / 0.5348 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.3644, allocations: 1.375 kB / 0.5348 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.3646, allocations: 59.77 kB / 0.5348 GB, free: 9.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3646, allocations: 0 / 0.5348 GB, free: 9.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002857/0.3649, allocations: 100 kB / 0.5349 GB, free: 9.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.365, allocations: 55.41 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.3652, allocations: 182 kB / 0.5352 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.3652, allocations: 27.05 kB / 0.5352 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.3652, allocations: 104.2 kB / 0.5353 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.3653, allocations: 13.72 kB / 0.5353 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.3653, allocations: 19.38 kB / 0.5353 GB, free: 9.379 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3654, allocations: 321.8 kB / 0.5356 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.991e-05/0.3655, allocations: 19.36 kB / 0.5357 GB, free: 9.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.893e-05/0.3656, allocations: 27.97 kB / 0.5357 GB, free: 9.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.502e-05/0.3657, allocations: 47.83 kB / 0.5357 GB, free: 8.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.3657, allocations: 3.938 kB / 0.5357 GB, free: 8.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001696/0.3659, allocations: 78.69 kB / 0.5358 GB, free: 8.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3659, allocations: 5.062 kB / 0.5358 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3659, allocations: 9.297 kB / 0.5358 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3659, allocations: 0.9062 kB / 0.5358 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.366, allocations: 9.469 kB / 0.5358 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.366, allocations: 0 / 0.5358 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.366, allocations: 10.97 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3661, allocations: 2.188 kB / 0.5358 GB, free: 8.914 MB / 398.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 (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 9.199e-05/0.3662, allocations: 125.8 kB / 0.536 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.3662, allocations: 12.78 kB / 0.536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.3662, allocations: 13.34 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3662, allocations: 4 kB / 0.536 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3662, allocations: 4.984 kB / 0.536 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3663, allocations: 0 / 0.536 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3664, allocations: 192.4 kB / 0.5362 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3664, allocations: 0 / 0.5362 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.3665, allocations: 7.812 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3665, allocations: 3.938 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.3665, allocations: 1.344 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3665, allocations: 5.391 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3665, allocations: 0 / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.3667, allocations: 109 kB / 0.5363 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.3668, allocations: 91 kB / 0.5364 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.3668, allocations: 1.25 kB / 0.5364 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.3668, allocations: 6.156 kB / 0.5364 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.3669, allocations: 2.219 kB / 0.5364 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.3669, allocations: 6.297 kB / 0.5364 GB, free: 8.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.367, allocations: 135.2 kB / 0.5365 GB, free: 8.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.367, allocations: 4 kB / 0.5365 GB, free: 8.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.3673, allocations: 17.59 kB / 0.5366 GB, free: 8.215 MB / 398.1 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.001391/0.3687, allocations: 0.9379 MB / 0.5375 GB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.3688, allocations: 44.28 kB / 0.5375 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3689, allocations: 4.062 kB / 0.5375 GB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.758e-05/0.3689, allocations: 15.56 kB / 0.5375 GB, free: 7.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.3692, allocations: 31.31 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.371, allocations: 1.489 MB / 0.539 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.3713, allocations: 0.7027 MB / 0.5397 GB, free: 5.391 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.064e-05/0.3714, allocations: 16.09 kB / 0.5397 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.3714, allocations: 25.78 kB / 0.5397 GB, free: 5.363 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3714, allocations: 3.938 kB / 0.5397 GB, free: 5.359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.3934, allocations: 3.114 MB / 0.5428 GB, free: 3.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/7.879, allocations: 12.19 kB / 0.5428 GB, free: 3.645 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches