Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 118.2 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.001388/0.001388, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 75.88 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3705, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002928/0.3735, allocations: 1.6 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3748, allocations: 0.5386 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.3749, allocations: 5.188 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.3751, allocations: 34.09 kB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.3754, allocations: 75.81 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.3757, allocations: 110.4 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3758, allocations: 58.17 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3759, allocations: 15.55 kB / 0.5329 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.548e-05/0.376, allocations: 32.58 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.3761, allocations: 22.23 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.3761, allocations: 3 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.262e-05/0.3762, allocations: 35.45 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.713e-05/0.3762, allocations: 13.42 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.3763, allocations: 28.14 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.3765, allocations: 76.7 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3765, allocations: 0 / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3765, allocations: 1.25 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3765, allocations: 0 / 0.5331 GB, free: 11.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000505/0.377, allocations: 400.5 kB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3771, allocations: 11.06 kB / 0.5335 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.699e-05/0.3771, allocations: 34.75 kB / 0.5335 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.3771, allocations: 8.484 kB / 0.5335 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.3773, allocations: 195 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3774, allocations: 384 / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.3774, allocations: 2.125 kB / 0.5337 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.3776, allocations: 52.39 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3776, allocations: 0 / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3776, allocations: 9.781 kB / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.3776, allocations: 0 / 0.5338 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.3777, allocations: 30.38 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.3781, allocations: 288.4 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.3784, allocations: 40 kB / 0.5341 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.3784, allocations: 29.12 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3785, allocations: 0 / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.3785, allocations: 31.94 kB / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.3785, allocations: 0 / 0.5342 GB, free: 10.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005858/0.3791, allocations: 151.4 kB / 0.5343 GB, free: 10.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.3791, allocations: 55.41 kB / 0.5344 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.3793, allocations: 167.8 kB / 0.5345 GB, free: 9.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3793, allocations: 29.7 kB / 0.5346 GB, free: 9.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.3794, allocations: 96.25 kB / 0.5347 GB, free: 9.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.3794, allocations: 17.17 kB / 0.5347 GB, free: 9.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.3794, allocations: 19.22 kB / 0.5347 GB, free: 9.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3796, allocations: 320.2 kB / 0.535 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/0.3797, allocations: 24.3 kB / 0.535 GB, free: 9.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.18e-05/0.3797, allocations: 24.55 kB / 0.5351 GB, free: 9.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.3799, allocations: 58.94 kB / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3799, allocations: 0 / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001825/0.3801, allocations: 87.94 kB / 0.5352 GB, free: 9.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3801, allocations: 7.531 kB / 0.5352 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3801, allocations: 0 / 0.5352 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3801, allocations: 1.375 kB / 0.5352 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.3802, allocations: 17.61 kB / 0.5352 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3802, allocations: 3.938 kB / 0.5352 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.3803, allocations: 8.109 kB / 0.5352 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3803, allocations: 1.375 kB / 0.5352 GB, free: 9.371 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.032e-05/0.3804, allocations: 119.3 kB / 0.5353 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.3804, allocations: 8.078 kB / 0.5354 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.3806, allocations: 105.6 kB / 0.5355 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3806, allocations: 0 / 0.5355 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3807, allocations: 5.312 kB / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3807, allocations: 0 / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.3811, allocations: 356 kB / 0.5358 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3811, allocations: 0 / 0.5358 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.3812, allocations: 13.61 kB / 0.5358 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3812, allocations: 9.25 kB / 0.5358 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3812, allocations: 5.375 kB / 0.5358 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3812, allocations: 192 / 0.5358 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3812, allocations: 4 kB / 0.5358 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.3814, allocations: 178.7 kB / 0.536 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.3815, allocations: 83.38 kB / 0.5361 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.3815, allocations: 5.094 kB / 0.5361 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.3816, allocations: 11.58 kB / 0.5361 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.3816, allocations: 5.25 kB / 0.5361 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3816, allocations: 2.031 kB / 0.5361 GB, free: 8.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.3817, allocations: 123.9 kB / 0.5362 GB, free: 8.426 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3817, allocations: 0 / 0.5362 GB, free: 8.426 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.382, allocations: 22.34 kB / 0.5362 GB, free: 8.414 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001428/0.3834, allocations: 1.02 MB / 0.5372 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.3837, allocations: 50.75 kB / 0.5373 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3837, allocations: 0 / 0.5373 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.515e-05/0.3838, allocations: 28.83 kB / 0.5373 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.3842, allocations: 17.98 kB / 0.5373 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.3858, allocations: 1.494 MB / 0.5388 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.3861, allocations: 0.7011 MB / 0.5395 GB, free: 5.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.717e-05/0.3861, allocations: 15.88 kB / 0.5395 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.3862, allocations: 27.64 kB / 0.5395 GB, free: 5.453 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3862, allocations: 5.125 kB / 0.5395 GB, free: 5.449 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.4039, allocations: 2.61 MB / 0.5421 GB, free: 3.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/8.084, allocations: 9.953 kB / 0.5421 GB, free: 3.977 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches