Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001112/0.001112, allocations: 117.6 kB / 17.78 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 204.7 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, 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.2047/0.2047, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 80.09 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.282, allocations: 62.43 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002745/0.2848, allocations: 1.73 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002201/0.2871, allocations: 1.629 MB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.256e-05/0.2871, allocations: 1.094 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002574/0.2874, allocations: 33.06 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.2877, allocations: 104.4 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.2879, allocations: 78.94 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.2881, allocations: 109.6 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.971e-05/0.2882, allocations: 10.94 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.028e-05/0.2883, allocations: 45.41 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.2885, allocations: 51.42 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2885, allocations: 4.719 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.2887, allocations: 106.2 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.2887, allocations: 25.33 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.2888, allocations: 36 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.2891, allocations: 162.3 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2891, allocations: 1.188 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2891, allocations: 0 / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.2891, allocations: 0 / 0.5346 GB, free: 10.29 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.00053/0.2896, allocations: 438.4 kB / 0.535 GB, free: 9.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2897, allocations: 9.625 kB / 0.535 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.2897, allocations: 36.11 kB / 0.5351 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.2898, allocations: 16.97 kB / 0.5351 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.29, allocations: 211.6 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.29, allocations: 5.359 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.2901, allocations: 2.75 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.2902, allocations: 70.45 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.2902, allocations: 3.938 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2902, allocations: 4 kB / 0.5354 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2903, allocations: 1.375 kB / 0.5354 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.368e-05/0.2903, allocations: 22.98 kB / 0.5354 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.2907, allocations: 285.5 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.2909, allocations: 61.86 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.2909, allocations: 17.11 kB / 0.5357 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.2909, allocations: 5.375 kB / 0.5358 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.2911, allocations: 65.14 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.016e-06/0.2911, allocations: 0 / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005254/0.2916, allocations: 180.9 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.2917, allocations: 82.42 kB / 0.5361 GB, free: 8.824 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.2919, allocations: 163.5 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2919, allocations: 27.89 kB / 0.5363 GB, free: 8.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.2919, allocations: 104.2 kB / 0.5364 GB, free: 8.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.292, allocations: 31.17 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.292, allocations: 20.94 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2921, allocations: 321 kB / 0.5367 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.87e-05/0.2922, allocations: 19.06 kB / 0.5367 GB, free: 8.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.2923, allocations: 49.92 kB / 0.5368 GB, free: 8.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.2924, allocations: 58.38 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2924, allocations: 1.094 kB / 0.5368 GB, free: 8.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001876/0.2926, allocations: 102.9 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2926, allocations: 5.188 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2926, allocations: 1.844 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2926, allocations: 0 / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.2927, allocations: 17.91 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2928, allocations: 5.203 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.674e-05/0.2928, allocations: 13.41 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2928, allocations: 3.938 kB / 0.537 GB, free: 8.012 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 9.44e-05/0.2929, allocations: 121.9 kB / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.293, allocations: 8.766 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.293, allocations: 16.83 kB / 0.5371 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.293, allocations: 5.281 kB / 0.5371 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.293, allocations: 0 / 0.5371 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.293, allocations: 1.156 kB / 0.5371 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.2935, allocations: 399.8 kB / 0.5375 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.351e-06/0.2935, allocations: 5.25 kB / 0.5375 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.2935, allocations: 15.59 kB / 0.5375 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2935, allocations: 1.125 kB / 0.5375 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2936, allocations: 5.203 kB / 0.5375 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.2936, allocations: 1.094 kB / 0.5375 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2936, allocations: 1.062 kB / 0.5375 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.2938, allocations: 211.5 kB / 0.5377 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.2939, allocations: 88.34 kB / 0.5378 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.2939, allocations: 2.156 kB / 0.5378 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.253e-05/0.294, allocations: 5.203 kB / 0.5378 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.294, allocations: 8.406 kB / 0.5378 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.294, allocations: 3.188 kB / 0.5378 GB, free: 7.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.2942, allocations: 130.8 kB / 0.538 GB, free: 7.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2942, allocations: 5.125 kB / 0.538 GB, free: 7.066 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.2945, allocations: 41.34 kB / 0.538 GB, free: 7.055 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.001584/0.2961, allocations: 1.19 MB / 0.5392 GB, free: 6.148 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.2962, allocations: 51.08 kB / 0.5392 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2963, allocations: 0 / 0.5392 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.501e-05/0.2963, allocations: 33.58 kB / 0.5392 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.2967, allocations: 37.34 kB / 0.5393 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2983, allocations: 1.594 MB / 0.5408 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.2985, allocations: 0.6994 MB / 0.5415 GB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.814e-05/0.2986, allocations: 23.31 kB / 0.5415 GB, free: 3.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.2987, allocations: 38.44 kB / 0.5416 GB, free: 3.922 MB / 398.1 MB Notification: Performance of SimCode: time 1.463e-06/0.2987, allocations: 0 / 0.5416 GB, free: 3.922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.3188, allocations: 3.999 MB / 0.5455 GB, free: 1.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/8.016, allocations: 18.84 kB / 0.5455 GB, free: 1.695 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches