Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001667, allocations: 208.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 83.86 kB / 481 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3488, allocations: 62.44 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003345/0.3521, allocations: 1.728 MB / 0.5324 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.354, allocations: 1.021 MB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.3541, allocations: 1.844 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.3544, allocations: 45.38 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003096/0.3547, allocations: 99.38 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.355, allocations: 82.2 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.3552, allocations: 102.5 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3553, allocations: 14.25 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.3554, allocations: 39.02 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.228e-05/0.3555, allocations: 42.14 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.3555, allocations: 4.438 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.915e-05/0.3556, allocations: 40.23 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.3557, allocations: 22.73 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.3557, allocations: 39.98 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.356, allocations: 127.2 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.356, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.356, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.356, allocations: 1.375 kB / 0.534 GB, free: 10.82 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006448/0.3567, allocations: 424.8 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3567, allocations: 9.625 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.148e-05/0.3568, allocations: 40.05 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.3568, allocations: 10.39 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.3571, allocations: 224.6 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3572, allocations: 1.75 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3572, allocations: 6.688 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.3573, allocations: 54.05 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3574, allocations: 0 / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3574, allocations: 1.375 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3574, allocations: 0 / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.081e-05/0.3575, allocations: 18.98 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.3579, allocations: 294.8 kB / 0.5351 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.3581, allocations: 61.86 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.3581, allocations: 22.42 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.3582, allocations: 5.359 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.3583, allocations: 69.14 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3583, allocations: 0 / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005321/0.3589, allocations: 178.5 kB / 0.5354 GB, free: 9.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.3589, allocations: 56.77 kB / 0.5354 GB, free: 9.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.3592, allocations: 207.4 kB / 0.5356 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.3592, allocations: 27.05 kB / 0.5357 GB, free: 9.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.3593, allocations: 109.6 kB / 0.5358 GB, free: 9.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.3593, allocations: 20.17 kB / 0.5358 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.3594, allocations: 27.98 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3595, allocations: 326.4 kB / 0.5361 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.3596, allocations: 16.34 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-05/0.3597, allocations: 35.05 kB / 0.5362 GB, free: 8.727 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.3598, allocations: 66.69 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3598, allocations: 4 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.36, allocations: 104.5 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.36, allocations: 5.344 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.36, allocations: 0 / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3601, allocations: 1.188 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.224e-05/0.3602, allocations: 16.84 kB / 0.5364 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3602, allocations: 1.188 kB / 0.5364 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.11e-05/0.3602, allocations: 18.08 kB / 0.5364 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.3602, allocations: 3.312 kB / 0.5364 GB, free: 8.59 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 (10): * Single equations (assignments): 10 * 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.0001227/0.3604, allocations: 128.2 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.3604, allocations: 13.59 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.008e-05/0.3605, allocations: 22.83 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.3605, allocations: 1.375 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3605, allocations: 0 / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3605, allocations: 4.938 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.361, allocations: 399.5 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.361, allocations: 0 / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.361, allocations: 15.89 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3611, allocations: 5.125 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3611, allocations: 2.219 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3611, allocations: 3.938 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3611, allocations: 1.062 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.3613, allocations: 209.4 kB / 0.5372 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.3614, allocations: 87.41 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.3614, allocations: 6.25 kB / 0.5372 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.3615, allocations: 6.281 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.3616, allocations: 7.453 kB / 0.5373 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3616, allocations: 3.312 kB / 0.5373 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.3617, allocations: 158.3 kB / 0.5374 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3617, allocations: 0 / 0.5374 GB, free: 7.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.362, allocations: 22.03 kB / 0.5374 GB, free: 7.621 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: 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 (8): * Single equations (assignments): 6 * 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.002156/0.3642, allocations: 1.108 MB / 0.5385 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002023/0.3644, allocations: 57.38 kB / 0.5386 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3644, allocations: 3.938 kB / 0.5386 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.009e-05/0.3645, allocations: 25.56 kB / 0.5386 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.3649, allocations: 38.42 kB / 0.5386 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.367, allocations: 1.687 MB / 0.5403 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.3674, allocations: 0.707 MB / 0.541 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.017e-05/0.3675, allocations: 21.52 kB / 0.541 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.3676, allocations: 39.61 kB / 0.541 GB, free: 4.484 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3676, allocations: 0 / 0.541 GB, free: 4.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.3937, allocations: 3.503 MB / 0.5444 GB, free: 2.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.457, allocations: 9.703 kB / 0.5445 GB, free: 2.594 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches