Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001684/0.001684, 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.002192/0.002192, 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.469/1.469, allocations: 227.4 MB / 246.9 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.2143/0.2143, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 83.88 kB / 480.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3054, allocations: 62.42 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002982/0.3084, allocations: 1.931 MB / 0.5325 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.3101, allocations: 1.127 MB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.679e-05/0.3102, allocations: 5.906 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.3106, allocations: 159.5 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003854/0.311, allocations: 181.5 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.3112, allocations: 111.1 kB / 0.534 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.3115, allocations: 247.8 kB / 0.5343 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3116, allocations: 32.78 kB / 0.5343 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.3118, allocations: 119.6 kB / 0.5344 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.3119, allocations: 126.8 kB / 0.5345 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.312, allocations: 13.56 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.3121, allocations: 62.61 kB / 0.5346 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.43e-05/0.3122, allocations: 61.62 kB / 0.5347 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.762e-05/0.3123, allocations: 86.61 kB / 0.5347 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.3126, allocations: 223.4 kB / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3126, allocations: 3.938 kB / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3126, allocations: 0 / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.3126, allocations: 0 / 0.535 GB, free: 10.16 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006769/0.3133, allocations: 0.5433 MB / 0.5355 GB, free: 9.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3134, allocations: 13.19 kB / 0.5355 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.3134, allocations: 41.34 kB / 0.5355 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.3135, allocations: 32.95 kB / 0.5356 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.3138, allocations: 272 kB / 0.5358 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.3138, allocations: 10.73 kB / 0.5358 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.3139, allocations: 9.719 kB / 0.5359 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.3141, allocations: 113.6 kB / 0.536 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3141, allocations: 0.9062 kB / 0.536 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3141, allocations: 9.125 kB / 0.536 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3141, allocations: 1.062 kB / 0.536 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.3143, allocations: 44.72 kB / 0.536 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.3148, allocations: 466.5 kB / 0.5365 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.3151, allocations: 126 kB / 0.5366 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.3152, allocations: 41.2 kB / 0.5366 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.3153, allocations: 6.906 kB / 0.5366 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.3155, allocations: 136.1 kB / 0.5368 GB, free: 8.477 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.3155, allocations: 0 / 0.5368 GB, free: 8.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001336/0.3168, allocations: 495.9 kB / 0.5372 GB, free: 8.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.3169, allocations: 79.89 kB / 0.5373 GB, free: 8.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/0.3174, allocations: 373.4 kB / 0.5377 GB, free: 7.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.3174, allocations: 32.02 kB / 0.5377 GB, free: 7.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.3175, allocations: 149.1 kB / 0.5378 GB, free: 7.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.408e-05/0.3176, allocations: 77.91 kB / 0.5379 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.3177, allocations: 41.92 kB / 0.538 GB, free: 7.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3178, allocations: 338.3 kB / 0.5383 GB, free: 7.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.318, allocations: 65.38 kB / 0.5383 GB, free: 7.262 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.3181, allocations: 96.03 kB / 0.5384 GB, free: 7.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.3185, allocations: 160.2 kB / 0.5386 GB, free: 7.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3185, allocations: 5 kB / 0.5386 GB, free: 7.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004193/0.3189, allocations: 233.2 kB / 0.5388 GB, free: 6.961 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3189, allocations: 5.531 kB / 0.5388 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3189, allocations: 1.562 kB / 0.5388 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.319, allocations: 5.531 kB / 0.5388 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.3191, allocations: 51.06 kB / 0.5389 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3191, allocations: 1.312 kB / 0.5389 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.158e-05/0.3192, allocations: 7.969 kB / 0.5389 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.3192, allocations: 11.78 kB / 0.5389 GB, free: 6.934 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001414/0.3194, allocations: 162.3 kB / 0.539 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.3194, allocations: 33.38 kB / 0.5391 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.538e-05/0.3195, allocations: 35.55 kB / 0.5391 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3195, allocations: 6.656 kB / 0.5391 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3195, allocations: 1.531 kB / 0.5391 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3195, allocations: 3.984 kB / 0.5391 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008417/0.3204, allocations: 0.7185 MB / 0.5398 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3204, allocations: 5.438 kB / 0.5398 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.061e-05/0.3205, allocations: 28.45 kB / 0.5399 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3205, allocations: 1.438 kB / 0.5399 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3205, allocations: 8.25 kB / 0.5399 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3205, allocations: 2.719 kB / 0.5399 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/0.3205, allocations: 9.344 kB / 0.5399 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/0.321, allocations: 417.9 kB / 0.5403 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.321, allocations: 101.1 kB / 0.5404 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.3211, allocations: 11.17 kB / 0.5404 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3212, allocations: 8.188 kB / 0.5404 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.3213, allocations: 21.45 kB / 0.5404 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.3213, allocations: 20.48 kB / 0.5404 GB, free: 5.637 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002519/0.3216, allocations: 276 kB / 0.5407 GB, free: 5.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3216, allocations: 0 / 0.5407 GB, free: 5.477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003537/0.3219, allocations: 51.89 kB / 0.5407 GB, free: 5.461 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001689/0.3236, allocations: 1.349 MB / 0.5421 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.324, allocations: 162.5 kB / 0.5422 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.324, allocations: 5.375 kB / 0.5422 GB, free: 4.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.3242, allocations: 78.88 kB / 0.5423 GB, free: 4.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.3247, allocations: 69.89 kB / 0.5424 GB, free: 4.297 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.3276, allocations: 2.73 MB / 0.545 GB, free: 2.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.3279, allocations: 0.7594 MB / 0.5458 GB, free: 1.488 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.328, allocations: 40.58 kB / 0.5458 GB, free: 1.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.3282, allocations: 87.06 kB / 0.5459 GB, free: 1.402 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3282, allocations: 0 / 0.5459 GB, free: 1.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.3513, allocations: 6.084 MB / 0.5518 GB, free: 11.7 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.353, allocations: 4.219 kB / 0.5518 GB, free: 11.7 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches