Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 79.88 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3623, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003258/0.3656, allocations: 1.735 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3674, allocations: 1.027 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.3675, allocations: 1.375 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.3679, allocations: 46.88 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.3682, allocations: 100.4 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.3684, allocations: 72.38 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.3686, allocations: 112.9 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3687, allocations: 14.84 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.367e-05/0.3688, allocations: 38.92 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.683e-05/0.3688, allocations: 38.78 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.3689, allocations: 2.75 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.49e-05/0.369, allocations: 40.86 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.369, allocations: 20.17 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.3691, allocations: 45.28 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3693, allocations: 132.5 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3693, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3693, allocations: 5.312 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3694, allocations: 0 / 0.534 GB, free: 10.77 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.0005868/0.3699, allocations: 439.8 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.37, allocations: 9.938 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/0.37, allocations: 36 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.3701, allocations: 10.73 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.3704, allocations: 218.8 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3704, allocations: 5.688 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.3705, allocations: 10.34 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3706, allocations: 54.73 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3706, allocations: 0 / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3706, allocations: 4 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3707, allocations: 0.7812 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.3707, allocations: 18.33 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.3712, allocations: 293.6 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.3714, allocations: 62.03 kB / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.3714, allocations: 25.22 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3715, allocations: 1.312 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.3716, allocations: 65.86 kB / 0.5352 GB, free: 9.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.3717, allocations: 4 kB / 0.5352 GB, free: 9.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000609/0.3723, allocations: 179.7 kB / 0.5354 GB, free: 9.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.3723, allocations: 60.41 kB / 0.5355 GB, free: 9.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.3726, allocations: 235.8 kB / 0.5357 GB, free: 9.191 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3726, allocations: 30.67 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.3727, allocations: 110.8 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.3728, allocations: 28.05 kB / 0.5359 GB, free: 9.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.3728, allocations: 20.06 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.373, allocations: 330.9 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.29e-05/0.3731, allocations: 23.55 kB / 0.5362 GB, free: 8.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-05/0.3732, allocations: 39.92 kB / 0.5363 GB, free: 8.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.3733, allocations: 54.36 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3733, allocations: 1.75 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002106/0.3735, allocations: 111 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3736, allocations: 5.5 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3736, allocations: 1.375 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3736, allocations: 0 / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.3737, allocations: 17.73 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3737, allocations: 1.375 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.3738, allocations: 9.25 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3738, allocations: 2.75 kB / 0.5365 GB, free: 8.516 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.0001399/0.3739, allocations: 134.1 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.374, allocations: 18.81 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.374, allocations: 20.27 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.374, allocations: 1.375 kB / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.374, allocations: 0 / 0.5366 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.3741, allocations: 3.938 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.3746, allocations: 405.4 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3746, allocations: 1.469 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.3746, allocations: 6.562 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.3747, allocations: 9.438 kB / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3747, allocations: 1.438 kB / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.3747, allocations: 1.125 kB / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3747, allocations: 1.375 kB / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.375, allocations: 208.7 kB / 0.5372 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.967e-05/0.3751, allocations: 96.33 kB / 0.5373 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.3751, allocations: 6.031 kB / 0.5373 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.3752, allocations: 10.03 kB / 0.5373 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.3752, allocations: 7.609 kB / 0.5373 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3753, allocations: 3.688 kB / 0.5373 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.3755, allocations: 177.1 kB / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3755, allocations: 0 / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.3757, allocations: 21.41 kB / 0.5375 GB, free: 7.527 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.002182/0.3779, allocations: 1.094 MB / 0.5386 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.3781, allocations: 58.56 kB / 0.5387 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3781, allocations: 0 / 0.5387 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.18e-05/0.3782, allocations: 33.89 kB / 0.5387 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.3786, allocations: 38.52 kB / 0.5387 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.3808, allocations: 1.747 MB / 0.5404 GB, free: 5.121 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3811, allocations: 0.7133 MB / 0.5411 GB, free: 4.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.128e-05/0.3812, allocations: 18.3 kB / 0.5411 GB, free: 4.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.3813, allocations: 39.92 kB / 0.5412 GB, free: 4.367 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3813, allocations: 0 / 0.5412 GB, free: 4.367 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02284/0.4041, allocations: 3.612 MB / 0.5447 GB, free: 2.434 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.497, allocations: 12.83 kB / 0.5447 GB, free: 2.426 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches