Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00141/0.00141, allocations: 121.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001905/0.001906, allocations: 203.8 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 75.88 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3759, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003291/0.3793, allocations: 1.932 MB / 0.5325 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.381, allocations: 1.062 MB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.371e-05/0.3811, allocations: 1.375 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.3814, allocations: 45.33 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.3817, allocations: 98.98 kB / 0.5336 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.382, allocations: 103 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.3822, allocations: 143.9 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3823, allocations: 31.28 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.921e-05/0.3824, allocations: 52.34 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.3825, allocations: 53.47 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.3826, allocations: 6.875 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.3827, allocations: 51.59 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.87e-05/0.3827, allocations: 22.8 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.702e-05/0.3828, allocations: 58.55 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.3831, allocations: 152.2 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3831, allocations: 0 / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3831, allocations: 0 / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.3831, allocations: 1.375 kB / 0.5343 GB, free: 10.49 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.0006419/0.3837, allocations: 484.5 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3838, allocations: 9.375 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.3838, allocations: 49.08 kB / 0.5348 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.3839, allocations: 16.44 kB / 0.5348 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.3842, allocations: 236.3 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3842, allocations: 3.25 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.3843, allocations: 12.94 kB / 0.5351 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.3845, allocations: 111.4 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3845, allocations: 3.984 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3845, allocations: 5.219 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3845, allocations: 2.562 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.3847, allocations: 46.44 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.3853, allocations: 0.5039 MB / 0.5357 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.3856, allocations: 88.12 kB / 0.5358 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.741e-05/0.3857, allocations: 43.08 kB / 0.5358 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.3858, allocations: 5.219 kB / 0.5358 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.386, allocations: 77.97 kB / 0.5359 GB, free: 8.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.386, allocations: 0 / 0.5359 GB, free: 8.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004069/0.3864, allocations: 147.6 kB / 0.5361 GB, free: 8.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.3865, allocations: 52.81 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.3867, allocations: 195.2 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3867, allocations: 31.08 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.3868, allocations: 126.8 kB / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.3868, allocations: 35.61 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.3869, allocations: 29.95 kB / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.387, allocations: 327 kB / 0.5368 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.76e-05/0.3871, allocations: 28.48 kB / 0.5368 GB, free: 8.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3872, allocations: 68.14 kB / 0.5369 GB, free: 7.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.3874, allocations: 104.8 kB / 0.537 GB, free: 7.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3874, allocations: 1.406 kB / 0.537 GB, free: 7.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002654/0.3877, allocations: 132.8 kB / 0.5371 GB, free: 7.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3877, allocations: 9.578 kB / 0.5371 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3877, allocations: 2 kB / 0.5372 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3877, allocations: 6.25 kB / 0.5372 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.771e-05/0.3878, allocations: 25.31 kB / 0.5372 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3879, allocations: 5.984 kB / 0.5372 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.529e-05/0.3879, allocations: 9.719 kB / 0.5372 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3879, allocations: 7.812 kB / 0.5372 GB, free: 7.805 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.0001052/0.3881, allocations: 132.8 kB / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.3881, allocations: 10.62 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.3881, allocations: 23 kB / 0.5374 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3882, allocations: 5.031 kB / 0.5374 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3882, allocations: 0 / 0.5374 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3882, allocations: 0 / 0.5374 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.3884, allocations: 215.3 kB / 0.5376 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3884, allocations: 0 / 0.5376 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.3884, allocations: 13.62 kB / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3885, allocations: 1.125 kB / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3885, allocations: 1.125 kB / 0.5376 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.3885, allocations: 8.891 kB / 0.5376 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3885, allocations: 0 / 0.5376 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.3889, allocations: 177.2 kB / 0.5378 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.3889, allocations: 88.61 kB / 0.5378 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.389, allocations: 9.5 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.328e-05/0.389, allocations: 11.77 kB / 0.5379 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.3891, allocations: 7.328 kB / 0.5379 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3891, allocations: 3.062 kB / 0.5379 GB, free: 7.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.3892, allocations: 146.6 kB / 0.538 GB, free: 7.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3892, allocations: 3.938 kB / 0.538 GB, free: 7.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.3895, allocations: 27.34 kB / 0.538 GB, free: 7.043 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.001475/0.391, allocations: 1.022 MB / 0.539 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.3912, allocations: 76.5 kB / 0.5391 GB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3912, allocations: 256 / 0.5391 GB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3914, allocations: 45.78 kB / 0.5392 GB, free: 6.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3917, allocations: 49.55 kB / 0.5392 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.394, allocations: 1.752 MB / 0.5409 GB, free: 4.688 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.3944, allocations: 0.7119 MB / 0.5416 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.802e-05/0.3945, allocations: 23.59 kB / 0.5416 GB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.153e-05/0.3946, allocations: 48.23 kB / 0.5417 GB, free: 3.926 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3946, allocations: 0 / 0.5417 GB, free: 3.926 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.4229, allocations: 3.854 MB / 0.5454 GB, free: 1.871 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/7.989, allocations: 14.94 kB / 0.5455 GB, free: 1.867 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches