Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, 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.001294/0.001294, 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.392/1.392, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 83.84 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3406, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003194/0.3438, allocations: 1.594 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3457, allocations: 1.156 MB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.8e-05/0.3458, allocations: 1.375 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.346, allocations: 24.16 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.3463, allocations: 85.33 kB / 0.5334 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.3466, allocations: 90.3 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.3468, allocations: 67.42 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3469, allocations: 18.52 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.347, allocations: 25.2 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005971/0.3476, allocations: 34.62 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.3476, allocations: 3.938 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.3478, allocations: 95.23 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.3478, allocations: 15.38 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.3479, allocations: 28.58 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.3482, allocations: 145.9 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3482, allocations: 1.062 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3482, allocations: 0 / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3482, allocations: 0 / 0.5339 GB, free: 10.81 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.0005911/0.3488, allocations: 400.2 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3489, allocations: 9.938 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.3489, allocations: 34.69 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.349, allocations: 9.734 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.3492, allocations: 196.3 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.3492, allocations: 1.5 kB / 0.5346 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3493, allocations: 10.31 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.3494, allocations: 64.73 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3494, allocations: 0 / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3495, allocations: 0 / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.3495, allocations: 5.844 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.187e-05/0.3496, allocations: 23.52 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.35, allocations: 288.2 kB / 0.5349 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.3502, allocations: 39.22 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.3502, allocations: 19.59 kB / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.3503, allocations: 0 / 0.535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3503, allocations: 35.75 kB / 0.535 GB, free: 9.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.825e-06/0.3503, allocations: 3.984 kB / 0.535 GB, free: 9.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005708/0.3509, allocations: 138 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.3509, allocations: 82.42 kB / 0.5352 GB, free: 9.457 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3511, allocations: 147.5 kB / 0.5354 GB, free: 9.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3511, allocations: 27.08 kB / 0.5354 GB, free: 9.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.3512, allocations: 94.83 kB / 0.5355 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.3512, allocations: 18.61 kB / 0.5355 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.3513, allocations: 25.83 kB / 0.5355 GB, free: 9.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.3514, allocations: 317.5 kB / 0.5358 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.678e-05/0.3515, allocations: 17.61 kB / 0.5359 GB, free: 8.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.3516, allocations: 35.62 kB / 0.5359 GB, free: 8.812 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.3517, allocations: 50.88 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3517, allocations: 1.375 kB / 0.5359 GB, free: 8.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001829/0.3519, allocations: 83.8 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3519, allocations: 5.5 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3519, allocations: 0 / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.352, allocations: 1.375 kB / 0.536 GB, free: 8.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.352, allocations: 13.61 kB / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.352, allocations: 0 / 0.536 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.937e-05/0.3521, allocations: 12.06 kB / 0.5361 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3521, allocations: 5.375 kB / 0.5361 GB, free: 8.707 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 9.741e-05/0.3522, allocations: 114 kB / 0.5362 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.3523, allocations: 6.703 kB / 0.5362 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.3525, allocations: 93.52 kB / 0.5363 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3525, allocations: 1.375 kB / 0.5363 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3525, allocations: 0 / 0.5363 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3525, allocations: 3.938 kB / 0.5363 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.353, allocations: 346.6 kB / 0.5366 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.353, allocations: 3.938 kB / 0.5366 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.3531, allocations: 17.55 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3531, allocations: 1.375 kB / 0.5366 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3531, allocations: 3.938 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3531, allocations: 1.562 kB / 0.5366 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3531, allocations: 4 kB / 0.5366 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.3533, allocations: 188.2 kB / 0.5368 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.3534, allocations: 82.25 kB / 0.5369 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3534, allocations: 5 kB / 0.5369 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.3535, allocations: 7.328 kB / 0.5369 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.3535, allocations: 2.25 kB / 0.5369 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.638e-06/0.3535, allocations: 1.125 kB / 0.5369 GB, free: 7.867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.3537, allocations: 114.8 kB / 0.537 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3537, allocations: 4 kB / 0.537 GB, free: 7.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.3539, allocations: 35.34 kB / 0.5371 GB, free: 7.758 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.002117/0.3561, allocations: 1.098 MB / 0.5381 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.3563, allocations: 52.44 kB / 0.5382 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3563, allocations: 3.938 kB / 0.5382 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.595e-05/0.3564, allocations: 28.3 kB / 0.5382 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.3567, allocations: 14.73 kB / 0.5382 GB, free: 6.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.3584, allocations: 1.421 MB / 0.5396 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.3587, allocations: 0.7009 MB / 0.5403 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.578e-05/0.3588, allocations: 19.34 kB / 0.5403 GB, free: 4.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.3589, allocations: 25.55 kB / 0.5403 GB, free: 4.797 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3589, allocations: 1.219 kB / 0.5403 GB, free: 4.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02839/0.3873, allocations: 3.224 MB / 0.5435 GB, free: 2.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.907, allocations: 7.141 kB / 0.5435 GB, free: 2.934 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches