Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, allocations: 122.8 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.001267/0.001267, allocations: 202 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.449/1.449, 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.243/0.243, allocations: 46.11 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 75.88 kB / 481 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3774, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003409/0.3808, allocations: 1.733 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.3826, allocations: 1.017 MB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.156e-05/0.3827, allocations: 5.406 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003326/0.3831, allocations: 44.44 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.3834, allocations: 91.98 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.3837, allocations: 78.77 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.3839, allocations: 109.4 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.384, allocations: 15.59 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.3841, allocations: 39.2 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.661e-05/0.3842, allocations: 32.86 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.3842, allocations: 4.875 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3843, allocations: 47.94 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.3844, allocations: 18.48 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.291e-05/0.3845, allocations: 36.17 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.3847, allocations: 131.8 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3847, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3848, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.3848, allocations: 0 / 0.534 GB, free: 10.79 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.0007232/0.3855, allocations: 430.2 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.3856, allocations: 9.625 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.3856, allocations: 36.06 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.3857, allocations: 10.39 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.386, allocations: 224.6 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.386, allocations: 5.734 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3861, allocations: 6.688 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3862, allocations: 54.05 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3863, allocations: 0 / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3863, allocations: 0 / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3863, allocations: 1.375 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.3864, allocations: 18.98 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.3869, allocations: 298.8 kB / 0.5351 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.3871, allocations: 53.92 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.318e-05/0.3871, allocations: 18.48 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.3872, allocations: 3.938 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.3874, allocations: 69.08 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.3874, allocations: 5.375 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006532/0.388, allocations: 186.3 kB / 0.5354 GB, free: 9.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.114e-05/0.3881, allocations: 52.78 kB / 0.5354 GB, free: 9.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.3884, allocations: 212 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3884, allocations: 25.7 kB / 0.5357 GB, free: 9.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.001e-05/0.3885, allocations: 105.6 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.3886, allocations: 19.98 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.3886, allocations: 28.58 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3888, allocations: 327 kB / 0.5361 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.854e-05/0.3889, allocations: 15 kB / 0.5361 GB, free: 8.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-05/0.389, allocations: 39.39 kB / 0.5362 GB, free: 8.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.3891, allocations: 66.52 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3891, allocations: 1.125 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002061/0.3893, allocations: 102.9 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.3894, allocations: 9.859 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3894, allocations: 1.438 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3894, allocations: 0 / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.3895, allocations: 20.97 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3895, allocations: 1.219 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.3896, allocations: 10.81 kB / 0.5364 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.3896, allocations: 6.797 kB / 0.5364 GB, free: 8.555 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.0001458/0.3898, allocations: 128.1 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.3898, allocations: 13.06 kB / 0.5365 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.737e-05/0.3899, allocations: 23.72 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3899, allocations: 0.6562 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.3899, allocations: 5 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.3899, allocations: 3.938 kB / 0.5366 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.3904, allocations: 391.1 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3904, allocations: 1.125 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.3904, allocations: 8 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.3905, allocations: 8.938 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.3905, allocations: 1.375 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3905, allocations: 4.906 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3905, allocations: 5.062 kB / 0.537 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.3908, allocations: 204.5 kB / 0.5372 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.3908, allocations: 88.55 kB / 0.5372 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.3909, allocations: 13.72 kB / 0.5372 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.391, allocations: 2.188 kB / 0.5372 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.391, allocations: 7.297 kB / 0.5373 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.391, allocations: 3.375 kB / 0.5373 GB, free: 7.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.3912, allocations: 162.9 kB / 0.5374 GB, free: 7.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3912, allocations: 0 / 0.5374 GB, free: 7.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.3914, allocations: 21.28 kB / 0.5374 GB, free: 7.586 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.002146/0.3936, allocations: 1.084 MB / 0.5385 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.3938, allocations: 66.98 kB / 0.5386 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3938, allocations: 0 / 0.5386 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/0.3939, allocations: 36.8 kB / 0.5386 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.3943, allocations: 38.78 kB / 0.5386 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.3964, allocations: 1.688 MB / 0.5403 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.3968, allocations: 0.7072 MB / 0.541 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.942e-05/0.3969, allocations: 17.52 kB / 0.541 GB, free: 4.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.397, allocations: 39.45 kB / 0.541 GB, free: 4.453 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.397, allocations: 1.219 kB / 0.541 GB, free: 4.453 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.4235, allocations: 3.512 MB / 0.5445 GB, free: 2.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.44, allocations: 5.094 kB / 0.5445 GB, free: 2.559 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches