Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001797/0.001797, allocations: 121.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00208/0.00208, allocations: 199.8 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 79.81 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3339, allocations: 62.44 MB / 0.5306 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002884/0.3368, allocations: 1.614 MB / 0.5322 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.3377, allocations: 0.5473 MB / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.281e-05/0.3378, allocations: 0 / 0.5328 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.3381, allocations: 102.4 kB / 0.5329 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002768/0.3384, allocations: 115.7 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.3387, allocations: 103.2 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.3389, allocations: 89.03 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.339, allocations: 18.83 kB / 0.5332 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.583e-05/0.3391, allocations: 29.66 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3392, allocations: 60.69 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.3392, allocations: 2.75 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-05/0.3393, allocations: 42.23 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.3394, allocations: 32.11 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.3394, allocations: 41.16 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.3396, allocations: 111 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3396, allocations: 1.375 kB / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3397, allocations: 0 / 0.5335 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3397, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005852/0.3403, allocations: 420.9 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3403, allocations: 9.625 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.3403, allocations: 32.12 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.3404, allocations: 18.34 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.3407, allocations: 204.5 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3407, allocations: 7.125 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.3407, allocations: 5.703 kB / 0.5341 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3409, allocations: 63.34 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3409, allocations: 0 / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.3409, allocations: 1.375 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3409, allocations: 0 / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.703e-05/0.341, allocations: 28.47 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.3415, allocations: 313.7 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.3416, allocations: 39.06 kB / 0.5346 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.682e-05/0.3417, allocations: 21.19 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.3417, allocations: 1.375 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.3417, allocations: 31.94 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3418, allocations: 7.938 kB / 0.5346 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009149/0.3427, allocations: 250.1 kB / 0.5349 GB, free: 9.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.3427, allocations: 52.5 kB / 0.5349 GB, free: 9.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.343, allocations: 239 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.343, allocations: 25.7 kB / 0.5352 GB, free: 9.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.3431, allocations: 109.8 kB / 0.5353 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.3432, allocations: 35.2 kB / 0.5353 GB, free: 9.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.3432, allocations: 20.44 kB / 0.5353 GB, free: 9.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3434, allocations: 323.1 kB / 0.5356 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.018e-05/0.3435, allocations: 31.88 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.3436, allocations: 29.58 kB / 0.5357 GB, free: 9.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.3438, allocations: 77.66 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3438, allocations: 0 / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002298/0.344, allocations: 113.1 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.344, allocations: 7.688 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.344, allocations: 1.031 kB / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3441, allocations: 432 / 0.5359 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.3442, allocations: 18.7 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.3442, allocations: 7.938 kB / 0.5359 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.319e-05/0.3442, allocations: 7.062 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.3443, allocations: 6.859 kB / 0.5359 GB, free: 8.98 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 (8): * Single equations (assignments): 8 * 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.75e-05/0.3444, allocations: 122.5 kB / 0.536 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.3444, allocations: 13.25 kB / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.3447, allocations: 142.7 kB / 0.5362 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3447, allocations: 1.5 kB / 0.5362 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.3447, allocations: 7.938 kB / 0.5362 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3447, allocations: 1.375 kB / 0.5362 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.3453, allocations: 421.4 kB / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3453, allocations: 0 / 0.5366 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-05/0.3454, allocations: 30.14 kB / 0.5366 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3454, allocations: 1.406 kB / 0.5366 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.3454, allocations: 1.531 kB / 0.5366 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3454, allocations: 4 kB / 0.5366 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3454, allocations: 1.375 kB / 0.5366 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.3457, allocations: 216.5 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.3457, allocations: 92.41 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3458, allocations: 5.016 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-05/0.3458, allocations: 8.406 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3459, allocations: 10.8 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.3459, allocations: 2.406 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.3461, allocations: 179.9 kB / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3461, allocations: 0 / 0.5371 GB, free: 7.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.3463, allocations: 30.22 kB / 0.5371 GB, free: 7.895 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.00215/0.3485, allocations: 1.094 MB / 0.5382 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.3487, allocations: 72.33 kB / 0.5383 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3487, allocations: 0 / 0.5383 GB, free: 7.012 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.932e-05/0.3489, allocations: 40.5 kB / 0.5383 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3492, allocations: 30.39 kB / 0.5384 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.3512, allocations: 1.753 MB / 0.5401 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.3515, allocations: 0.714 MB / 0.5408 GB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.798e-05/0.3516, allocations: 20.3 kB / 0.5408 GB, free: 4.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.666e-05/0.3517, allocations: 45.44 kB / 0.5408 GB, free: 4.738 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3517, allocations: 0 / 0.5408 GB, free: 4.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.3768, allocations: 3.234 MB / 0.544 GB, free: 2.977 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.095, allocations: 9.078 kB / 0.544 GB, free: 2.973 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches