Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001312, allocations: 118.7 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 198 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.439/1.439, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.232/0.232, allocations: 46.12 MB / 344.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 75.88 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.367, allocations: 62.46 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003839/0.3709, allocations: 1.938 MB / 0.5326 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.373, allocations: 1.059 MB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.3732, allocations: 1.781 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.3735, allocations: 49.86 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.3739, allocations: 94.16 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.3741, allocations: 94.62 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.3744, allocations: 148.8 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3745, allocations: 27.02 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.785e-05/0.3746, allocations: 60.98 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.618e-05/0.3747, allocations: 52.94 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3748, allocations: 7.562 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.3749, allocations: 46.05 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.3749, allocations: 26.81 kB / 0.5342 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.375, allocations: 54.83 kB / 0.5343 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.3753, allocations: 157.2 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3754, allocations: 0 / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3754, allocations: 0 / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3754, allocations: 3.938 kB / 0.5344 GB, free: 10.45 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007592/0.3761, allocations: 485.5 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3762, allocations: 9.625 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.545e-05/0.3763, allocations: 41.48 kB / 0.5349 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.3763, allocations: 15.72 kB / 0.5349 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/0.3768, allocations: 249 kB / 0.5352 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.3769, allocations: 7.109 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.3769, allocations: 12.06 kB / 0.5352 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.3772, allocations: 102.5 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3772, allocations: 0 / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.3772, allocations: 5.375 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3772, allocations: 2.75 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.3774, allocations: 50.03 kB / 0.5353 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006341/0.378, allocations: 0.5075 MB / 0.5358 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.3783, allocations: 83.8 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.616e-05/0.3785, allocations: 40.08 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3785, allocations: 1.375 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.3787, allocations: 85.31 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.3787, allocations: 4 kB / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004043/0.3791, allocations: 147.9 kB / 0.5362 GB, free: 8.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.3792, allocations: 52.59 kB / 0.5362 GB, free: 8.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.3794, allocations: 207.3 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3794, allocations: 27.11 kB / 0.5365 GB, free: 8.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.784e-05/0.3795, allocations: 118.8 kB / 0.5366 GB, free: 8.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.3796, allocations: 31.39 kB / 0.5366 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.3796, allocations: 30.72 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3798, allocations: 326.7 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.497e-05/0.3799, allocations: 32.5 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.38, allocations: 56 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.3802, allocations: 106.5 kB / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3803, allocations: 0 / 0.5371 GB, free: 7.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002762/0.3805, allocations: 137.3 kB / 0.5373 GB, free: 7.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3806, allocations: 10.75 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3806, allocations: 1.156 kB / 0.5373 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3806, allocations: 5.219 kB / 0.5373 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.469e-05/0.3807, allocations: 22.52 kB / 0.5373 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3807, allocations: 6.219 kB / 0.5373 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.424e-05/0.3808, allocations: 20.45 kB / 0.5373 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3808, allocations: 4.562 kB / 0.5373 GB, free: 7.766 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001314/0.3809, allocations: 126.9 kB / 0.5374 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.381, allocations: 18.81 kB / 0.5375 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.381, allocations: 18.33 kB / 0.5375 GB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3811, allocations: 5.219 kB / 0.5375 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3811, allocations: 0 / 0.5375 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3811, allocations: 0 / 0.5375 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.3813, allocations: 210.8 kB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3813, allocations: 0 / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.3814, allocations: 14.33 kB / 0.5377 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3814, allocations: 1.188 kB / 0.5377 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.3814, allocations: 5.188 kB / 0.5377 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3814, allocations: 7.875 kB / 0.5377 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3814, allocations: 5.031 kB / 0.5377 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.3818, allocations: 180.9 kB / 0.5379 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.3819, allocations: 88.95 kB / 0.538 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.3819, allocations: 5.016 kB / 0.538 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.343e-05/0.382, allocations: 11.56 kB / 0.538 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.3821, allocations: 11.47 kB / 0.538 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3821, allocations: 7.188 kB / 0.538 GB, free: 7.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.3822, allocations: 146 kB / 0.5382 GB, free: 7.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3822, allocations: 3.938 kB / 0.5382 GB, free: 7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.3825, allocations: 27.41 kB / 0.5382 GB, free: 6.992 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002073/0.3846, allocations: 1.018 MB / 0.5392 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002535/0.3848, allocations: 84.27 kB / 0.5393 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3848, allocations: 0 / 0.5393 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.385, allocations: 38.16 kB / 0.5393 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.3853, allocations: 46.95 kB / 0.5393 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.3874, allocations: 1.755 MB / 0.5411 GB, free: 4.637 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.3877, allocations: 0.7119 MB / 0.5417 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.399e-05/0.3878, allocations: 19.75 kB / 0.5418 GB, free: 3.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.477e-05/0.3879, allocations: 51.84 kB / 0.5418 GB, free: 3.875 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3879, allocations: 0 / 0.5418 GB, free: 3.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.4148, allocations: 3.813 MB / 0.5455 GB, free: 1.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.597, allocations: 14.59 kB / 0.5456 GB, free: 1.84 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches