Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001285, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, 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.2361/0.2361, allocations: 46.12 MB / 344.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 79.88 kB / 481 MB, free: 4.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3684, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003117/0.3715, allocations: 1.735 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.3735, allocations: 1.016 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.3736, allocations: 1.125 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.3739, allocations: 82.67 kB / 0.5335 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003077/0.3742, allocations: 118.4 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.3744, allocations: 79.31 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.3746, allocations: 113.1 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.3748, allocations: 17.62 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.3749, allocations: 49.34 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.375, allocations: 60.59 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.3751, allocations: 3.969 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3752, allocations: 48.27 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.3752, allocations: 23.41 kB / 0.534 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/0.3753, allocations: 36 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.3756, allocations: 128.5 kB / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3756, allocations: 0 / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3756, allocations: 0 / 0.5341 GB, free: 10.76 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.3756, allocations: 1.375 kB / 0.5341 GB, free: 10.76 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.000569/0.3762, allocations: 426.2 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3762, allocations: 13.56 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.3763, allocations: 36.12 kB / 0.5346 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.3763, allocations: 18.34 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.3767, allocations: 214 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3767, allocations: 5.75 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.3767, allocations: 9.297 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3769, allocations: 57.98 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3769, allocations: 1.375 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3769, allocations: 0 / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3769, allocations: 1.375 kB / 0.5349 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.186e-05/0.377, allocations: 17.61 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.3774, allocations: 296.1 kB / 0.5352 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.3776, allocations: 65.84 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.479e-05/0.3776, allocations: 18.48 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.3777, allocations: 1.375 kB / 0.5353 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.3778, allocations: 77.12 kB / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3779, allocations: 0 / 0.5353 GB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005448/0.3784, allocations: 174.4 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.3785, allocations: 52.78 kB / 0.5355 GB, free: 9.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.3787, allocations: 230 kB / 0.5358 GB, free: 9.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3787, allocations: 26.8 kB / 0.5358 GB, free: 9.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3788, allocations: 109.6 kB / 0.5359 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.3789, allocations: 32.31 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.3789, allocations: 20.03 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3791, allocations: 327.8 kB / 0.5363 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.969e-05/0.3791, allocations: 18.33 kB / 0.5363 GB, free: 8.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.3792, allocations: 39.42 kB / 0.5363 GB, free: 8.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3794, allocations: 62.75 kB / 0.5364 GB, free: 8.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3794, allocations: 1.344 kB / 0.5364 GB, free: 8.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001954/0.3796, allocations: 107.9 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3796, allocations: 5.062 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3796, allocations: 0 / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3796, allocations: 2.594 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.171e-05/0.3797, allocations: 16.95 kB / 0.5365 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3797, allocations: 3.938 kB / 0.5365 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.3798, allocations: 6.562 kB / 0.5365 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.3798, allocations: 6.438 kB / 0.5365 GB, free: 8.508 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.0001177/0.3799, allocations: 132.7 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.3799, allocations: 14.81 kB / 0.5367 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.497e-05/0.38, allocations: 14.84 kB / 0.5367 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.38, allocations: 5.078 kB / 0.5367 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.38, allocations: 1.125 kB / 0.5367 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.38, allocations: 3.938 kB / 0.5367 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.3805, allocations: 396.5 kB / 0.5371 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3805, allocations: 1.125 kB / 0.5371 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.3806, allocations: 14.67 kB / 0.5371 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3806, allocations: 5.125 kB / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.3806, allocations: 2.469 kB / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3806, allocations: 1.219 kB / 0.5371 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3806, allocations: 4.312 kB / 0.5371 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.3809, allocations: 209.3 kB / 0.5373 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/0.3809, allocations: 88.66 kB / 0.5374 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.381, allocations: 13.98 kB / 0.5374 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.3811, allocations: 1.094 kB / 0.5374 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.3811, allocations: 3.406 kB / 0.5374 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.3811, allocations: 11.52 kB / 0.5374 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.3813, allocations: 160.8 kB / 0.5375 GB, free: 7.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3813, allocations: 1.531 kB / 0.5375 GB, free: 7.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.3815, allocations: 24.22 kB / 0.5376 GB, free: 7.535 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.002107/0.3837, allocations: 1.1 MB / 0.5386 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.3838, allocations: 54.25 kB / 0.5387 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3839, allocations: 0 / 0.5387 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.873e-05/0.3839, allocations: 34.2 kB / 0.5387 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3843, allocations: 41.44 kB / 0.5388 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.3863, allocations: 1.717 MB / 0.5404 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.3866, allocations: 0.7036 MB / 0.5411 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.3867, allocations: 14.78 kB / 0.5411 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.3868, allocations: 43.27 kB / 0.5412 GB, free: 4.398 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3868, allocations: 0 / 0.5412 GB, free: 4.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02431/0.4111, allocations: 3.56 MB / 0.5447 GB, free: 2.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.585, allocations: 1.188 kB / 0.5447 GB, free: 2.48 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches