Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001706/0.001706, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001988/0.001989, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2028/0.2028, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 75.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3257, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002812/0.3286, allocations: 1.686 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009687/0.3296, allocations: 0.5757 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.701e-05/0.3296, allocations: 1.031 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.3299, allocations: 51.08 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.3302, allocations: 91.55 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.3306, allocations: 188.6 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.3308, allocations: 88.66 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3309, allocations: 18.67 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.019e-05/0.3309, allocations: 43.3 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.555e-05/0.331, allocations: 47.02 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.3311, allocations: 3.938 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-05/0.3312, allocations: 49.33 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.013e-05/0.3312, allocations: 25.02 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.3313, allocations: 37.41 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.3315, allocations: 114.5 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3315, allocations: 4 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3315, allocations: 0 / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3315, allocations: 0 / 0.5335 GB, free: 11.21 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005109/0.332, allocations: 424.5 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3321, allocations: 9.094 kB / 0.5339 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.3321, allocations: 31.91 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.3321, allocations: 14.59 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.3323, allocations: 204.2 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.3324, allocations: 1.719 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.3324, allocations: 7.062 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.3326, allocations: 77.5 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3326, allocations: 0 / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.3326, allocations: 5.312 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3326, allocations: 5.359 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.3328, allocations: 44.7 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.3332, allocations: 324.5 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.3335, allocations: 60.67 kB / 0.5346 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.959e-05/0.3336, allocations: 29.28 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.3336, allocations: 5.359 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3336, allocations: 39.92 kB / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3336, allocations: 0 / 0.5347 GB, free: 9.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00152/0.3352, allocations: 425.1 kB / 0.5351 GB, free: 9.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3352, allocations: 54.16 kB / 0.5352 GB, free: 9.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.3354, allocations: 182.5 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3355, allocations: 31.05 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.3356, allocations: 108.4 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.3356, allocations: 40.02 kB / 0.5355 GB, free: 9.379 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.3357, allocations: 23.03 kB / 0.5355 GB, free: 9.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3358, allocations: 322.1 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.336, allocations: 56.95 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.3361, allocations: 57.2 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.3365, allocations: 127.7 kB / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3365, allocations: 0 / 0.5361 GB, free: 8.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003924/0.3369, allocations: 160.8 kB / 0.5362 GB, free: 8.828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3369, allocations: 9.547 kB / 0.5362 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3369, allocations: 4 kB / 0.5362 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.3369, allocations: 5.125 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3371, allocations: 24.39 kB / 0.5363 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3371, allocations: 0 / 0.5363 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.3372, allocations: 11.08 kB / 0.5363 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.3372, allocations: 6.625 kB / 0.5363 GB, free: 8.805 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 (11): * Single equations (assignments): 11 * 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.0001221/0.3373, allocations: 127 kB / 0.5364 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.3374, allocations: 21.66 kB / 0.5364 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.3378, allocations: 186.5 kB / 0.5366 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3378, allocations: 5.406 kB / 0.5366 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3379, allocations: 0 / 0.5366 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3379, allocations: 5.266 kB / 0.5366 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007688/0.3386, allocations: 0.5003 MB / 0.5371 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3387, allocations: 1.188 kB / 0.5371 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.3388, allocations: 29.03 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3388, allocations: 1.375 kB / 0.5371 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.3388, allocations: 5.344 kB / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3388, allocations: 2.188 kB / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3388, allocations: 192 / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.3393, allocations: 289 kB / 0.5374 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.3394, allocations: 89.25 kB / 0.5375 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3394, allocations: 5.031 kB / 0.5375 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3395, allocations: 15.03 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.3396, allocations: 9.016 kB / 0.5375 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.3396, allocations: 2.594 kB / 0.5375 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.3397, allocations: 145 kB / 0.5377 GB, free: 7.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3397, allocations: 0 / 0.5377 GB, free: 7.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.34, allocations: 23.44 kB / 0.5377 GB, free: 7.625 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001732/0.3417, allocations: 1.157 MB / 0.5388 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.3421, allocations: 131.9 kB / 0.5389 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3422, allocations: 1.094 kB / 0.5389 GB, free: 6.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.3424, allocations: 75.7 kB / 0.539 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.3429, allocations: 22.92 kB / 0.539 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.3461, allocations: 1.895 MB / 0.5409 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.3466, allocations: 0.7194 MB / 0.5416 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.3467, allocations: 35.08 kB / 0.5416 GB, free: 4.324 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-05/0.3468, allocations: 39.22 kB / 0.5417 GB, free: 4.293 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3468, allocations: 0 / 0.5417 GB, free: 4.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.3693, allocations: 3.477 MB / 0.5451 GB, free: 2.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/8.037, allocations: 11.58 kB / 0.5451 GB, free: 2.395 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches