Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.374, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003799/0.3779, allocations: 1.687 MB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.3797, allocations: 1.002 MB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.913e-05/0.3798, allocations: 0 / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.3802, allocations: 54.98 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.3806, allocations: 98.38 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.3808, allocations: 73.42 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.381, allocations: 106.3 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.3811, allocations: 4.891 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3812, allocations: 46.44 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3813, allocations: 49.55 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.3813, allocations: 2.938 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-05/0.3814, allocations: 36.66 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.3815, allocations: 17.7 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.3816, allocations: 39.27 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.3818, allocations: 97.91 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3818, allocations: 1.094 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3818, allocations: 0 / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.3818, allocations: 0 / 0.5338 GB, free: 10.91 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005913/0.3824, allocations: 410.5 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3824, allocations: 9.688 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.3825, allocations: 30.75 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.3825, allocations: 13.22 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.3829, allocations: 216 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3829, allocations: 1.562 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.3829, allocations: 5.156 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.3831, allocations: 47.61 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3831, allocations: 0 / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3831, allocations: 5.156 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3831, allocations: 0 / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.895e-05/0.3832, allocations: 19.64 kB / 0.5345 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.3834, allocations: 182.6 kB / 0.5347 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.3836, allocations: 50.91 kB / 0.5348 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.3837, allocations: 22.25 kB / 0.5348 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3837, allocations: 4 kB / 0.5348 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.3839, allocations: 64.33 kB / 0.5348 GB, free: 9.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.426e-06/0.3839, allocations: 0 / 0.5348 GB, free: 9.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003233/0.3842, allocations: 95.58 kB / 0.5349 GB, free: 9.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.3843, allocations: 52.84 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.3845, allocations: 184.6 kB / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3845, allocations: 27.39 kB / 0.5352 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.3846, allocations: 104.4 kB / 0.5353 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.3846, allocations: 18.56 kB / 0.5353 GB, free: 9.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.3847, allocations: 17.84 kB / 0.5353 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.3849, allocations: 323 kB / 0.5356 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.717e-05/0.385, allocations: 14.86 kB / 0.5357 GB, free: 9.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.385, allocations: 28.95 kB / 0.5357 GB, free: 9.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.3851, allocations: 50.16 kB / 0.5357 GB, free: 8.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3852, allocations: 5.312 kB / 0.5357 GB, free: 8.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001794/0.3853, allocations: 82.39 kB / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3854, allocations: 5.5 kB / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3854, allocations: 1.375 kB / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3854, allocations: 0 / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.3855, allocations: 9.625 kB / 0.5358 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3855, allocations: 3.938 kB / 0.5358 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.642e-05/0.3856, allocations: 18.62 kB / 0.5358 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-06/0.3856, allocations: 2.75 kB / 0.5358 GB, free: 8.898 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 (7): * Single equations (assignments): 7 * 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.0001152/0.3857, allocations: 124.6 kB / 0.536 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.3857, allocations: 9.406 kB / 0.536 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.566e-05/0.3858, allocations: 17.11 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3858, allocations: 1.375 kB / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3858, allocations: 0 / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3858, allocations: 0 / 0.536 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.386, allocations: 188.7 kB / 0.5362 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.386, allocations: 4 kB / 0.5362 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.3861, allocations: 8.062 kB / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3861, allocations: 0 / 0.5362 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3861, allocations: 9.297 kB / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3861, allocations: 0 / 0.5362 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3861, allocations: 3.984 kB / 0.5362 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.3863, allocations: 110.1 kB / 0.5363 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.3864, allocations: 87.67 kB / 0.5364 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.3864, allocations: 9.375 kB / 0.5364 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.306e-05/0.3864, allocations: 1.375 kB / 0.5364 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.3865, allocations: 6.734 kB / 0.5364 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.3865, allocations: 1.375 kB / 0.5364 GB, free: 8.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.3866, allocations: 135.3 kB / 0.5365 GB, free: 8.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3866, allocations: 0 / 0.5365 GB, free: 8.211 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.3869, allocations: 21.73 kB / 0.5366 GB, free: 8.203 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001339/0.3882, allocations: 0.942 MB / 0.5375 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.3884, allocations: 43.7 kB / 0.5375 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3884, allocations: 0 / 0.5375 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/0.3885, allocations: 16.06 kB / 0.5375 GB, free: 7.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.3888, allocations: 31.14 kB / 0.5376 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.3906, allocations: 1.493 MB / 0.539 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3909, allocations: 0.6986 MB / 0.5397 GB, free: 5.383 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.572e-05/0.391, allocations: 16.56 kB / 0.5397 GB, free: 5.375 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.3911, allocations: 30.09 kB / 0.5397 GB, free: 5.352 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3911, allocations: 0 / 0.5397 GB, free: 5.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.4147, allocations: 3.114 MB / 0.5428 GB, free: 3.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/8.129, allocations: 5.969 kB / 0.5428 GB, free: 3.641 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches