Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, 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.001423/0.001423, 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.411/1.411, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2352/0.2352, allocations: 46.11 MB / 344.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 71.88 kB / 481 MB, free: 4.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3515, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003186/0.3547, allocations: 1.751 MB / 0.5324 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.3566, allocations: 1.022 MB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.435e-05/0.3567, allocations: 1.312 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.3571, allocations: 88.77 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.3575, allocations: 125.6 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.3577, allocations: 79.27 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.3579, allocations: 120.1 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.358, allocations: 20.17 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.496e-05/0.3581, allocations: 55.08 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.3583, allocations: 63.62 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3583, allocations: 4.062 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.3584, allocations: 66.72 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.3585, allocations: 28.45 kB / 0.5341 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.554e-05/0.3585, allocations: 41.45 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.3588, allocations: 146.8 kB / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3588, allocations: 0 / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.41e-06/0.3588, allocations: 0 / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3588, allocations: 3.938 kB / 0.5342 GB, free: 10.67 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006166/0.3595, allocations: 442.2 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3595, allocations: 17.56 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.3596, allocations: 36.11 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.3596, allocations: 15.72 kB / 0.5347 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.36, allocations: 231.5 kB / 0.535 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3601, allocations: 1.75 kB / 0.535 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.3601, allocations: 6.688 kB / 0.535 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.3603, allocations: 56.8 kB / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3603, allocations: 0 / 0.535 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3603, allocations: 5.375 kB / 0.535 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3603, allocations: 5.375 kB / 0.535 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.909e-05/0.3604, allocations: 24.3 kB / 0.535 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.3608, allocations: 301.7 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.3611, allocations: 56.69 kB / 0.5354 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.772e-05/0.3612, allocations: 22.59 kB / 0.5354 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.3612, allocations: 5.375 kB / 0.5354 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.3614, allocations: 78.52 kB / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.3615, allocations: 0 / 0.5355 GB, free: 9.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008634/0.3623, allocations: 247.6 kB / 0.5357 GB, free: 9.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.3624, allocations: 56.38 kB / 0.5358 GB, free: 9.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.3627, allocations: 236.2 kB / 0.536 GB, free: 9.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.3627, allocations: 30.95 kB / 0.536 GB, free: 9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.3628, allocations: 114.6 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.3629, allocations: 36.59 kB / 0.5362 GB, free: 8.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.3629, allocations: 30.95 kB / 0.5362 GB, free: 8.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3631, allocations: 323 kB / 0.5365 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.935e-05/0.3632, allocations: 30.86 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.162e-05/0.3633, allocations: 44.14 kB / 0.5366 GB, free: 8.465 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.3635, allocations: 89.12 kB / 0.5367 GB, free: 8.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3635, allocations: 0 / 0.5367 GB, free: 8.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002486/0.3638, allocations: 130 kB / 0.5368 GB, free: 8.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3638, allocations: 5.312 kB / 0.5368 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.3638, allocations: 1.062 kB / 0.5368 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3638, allocations: 1.094 kB / 0.5368 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3639, allocations: 20.78 kB / 0.5368 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.364, allocations: 5.172 kB / 0.5368 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/0.364, allocations: 14.31 kB / 0.5368 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3641, allocations: 3.984 kB / 0.5368 GB, free: 8.309 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 (13): * Single equations (assignments): 13 * 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.0001574/0.3642, allocations: 135.4 kB / 0.537 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.3643, allocations: 14.91 kB / 0.537 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.204e-05/0.3643, allocations: 19.59 kB / 0.537 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3644, allocations: 6.156 kB / 0.537 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3644, allocations: 0 / 0.537 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.3644, allocations: 5.172 kB / 0.537 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/0.365, allocations: 454.2 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.365, allocations: 1.25 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.941e-05/0.3651, allocations: 15.72 kB / 0.5375 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3651, allocations: 1.062 kB / 0.5375 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3651, allocations: 3.125 kB / 0.5375 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.3651, allocations: 0.8125 kB / 0.5375 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3651, allocations: 0.9375 kB / 0.5375 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.3654, allocations: 243 kB / 0.5377 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.3655, allocations: 88.55 kB / 0.5378 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.3655, allocations: 10.34 kB / 0.5378 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.3656, allocations: 6.859 kB / 0.5378 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.3657, allocations: 3.781 kB / 0.5378 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.3657, allocations: 20.41 kB / 0.5378 GB, free: 7.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.3659, allocations: 169.5 kB / 0.538 GB, free: 7.277 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3659, allocations: 0 / 0.538 GB, free: 7.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00028/0.3662, allocations: 34.05 kB / 0.538 GB, free: 7.266 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.00245/0.3686, allocations: 1.169 MB / 0.5392 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.3689, allocations: 89.28 kB / 0.5392 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3689, allocations: 1.25 kB / 0.5393 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.369, allocations: 39.48 kB / 0.5393 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3694, allocations: 33 kB / 0.5393 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002215/0.3716, allocations: 1.843 MB / 0.5411 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.372, allocations: 0.7214 MB / 0.5418 GB, free: 4.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.834e-05/0.3721, allocations: 20.12 kB / 0.5418 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.084e-05/0.3722, allocations: 45.12 kB / 0.5419 GB, free: 3.984 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3722, allocations: 0 / 0.5419 GB, free: 3.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02633/0.3985, allocations: 3.943 MB / 0.5457 GB, free: 1.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/8.613, allocations: 11.58 kB / 0.5457 GB, free: 1.883 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches