Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001052/0.001052, 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.001171/0.001171, 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.424/1.424, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 76.09 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3305, allocations: 62.42 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003242/0.3338, allocations: 1.594 MB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.335, allocations: 0.5456 MB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.3351, allocations: 1.125 kB / 0.5326 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.3353, allocations: 20.81 kB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.3356, allocations: 83.06 kB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.3359, allocations: 110.5 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.3361, allocations: 66.38 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.295e-05/0.3362, allocations: 10.66 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.3362, allocations: 28.86 kB / 0.5329 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.3363, allocations: 26.86 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.3363, allocations: 2.406 kB / 0.5329 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.3364, allocations: 32.45 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.333e-05/0.3364, allocations: 15.89 kB / 0.533 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.3365, allocations: 20.38 kB / 0.533 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.3366, allocations: 90.86 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3366, allocations: 0 / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.3366, allocations: 0 / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3366, allocations: 0 / 0.5331 GB, free: 11.44 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.0004308/0.3371, allocations: 384.8 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3371, allocations: 13.98 kB / 0.5335 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.3372, allocations: 30.75 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.3372, allocations: 9.719 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.3374, allocations: 189.3 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.3374, allocations: 384 / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.3375, allocations: 6.234 kB / 0.5337 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3376, allocations: 52.97 kB / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3376, allocations: 0 / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.3377, allocations: 0 / 0.5338 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3377, allocations: 10.08 kB / 0.5338 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.577e-05/0.3378, allocations: 29.19 kB / 0.5338 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.3382, allocations: 275.6 kB / 0.5341 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.3384, allocations: 40.38 kB / 0.5341 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.3385, allocations: 20.84 kB / 0.5341 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3385, allocations: 5.438 kB / 0.5341 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3386, allocations: 34.5 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 4.729e-06/0.3386, allocations: 0 / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005844/0.3392, allocations: 154.4 kB / 0.5343 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.3392, allocations: 56.72 kB / 0.5344 GB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.3393, allocations: 157.4 kB / 0.5345 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.3394, allocations: 27.08 kB / 0.5345 GB, free: 9.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.3394, allocations: 94.83 kB / 0.5346 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.3394, allocations: 18.55 kB / 0.5346 GB, free: 9.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.3395, allocations: 13.84 kB / 0.5347 GB, free: 9.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.3396, allocations: 325.5 kB / 0.535 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.3397, allocations: 18.98 kB / 0.535 GB, free: 9.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.817e-05/0.3397, allocations: 24.36 kB / 0.535 GB, free: 9.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.3399, allocations: 52.33 kB / 0.5351 GB, free: 9.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3399, allocations: 192 / 0.5351 GB, free: 9.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001812/0.3401, allocations: 94.5 kB / 0.5351 GB, free: 9.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3401, allocations: 7.844 kB / 0.5352 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3401, allocations: 1.375 kB / 0.5352 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3401, allocations: 0 / 0.5352 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.3402, allocations: 17.61 kB / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3402, allocations: 1.375 kB / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.845e-05/0.3402, allocations: 2.75 kB / 0.5352 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3403, allocations: 13.23 kB / 0.5352 GB, free: 9.402 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.281e-05/0.3404, allocations: 115.3 kB / 0.5353 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.3404, allocations: 6.656 kB / 0.5353 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.3406, allocations: 105.5 kB / 0.5354 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3407, allocations: 4 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3407, allocations: 0 / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3407, allocations: 1.375 kB / 0.5354 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.3411, allocations: 350.6 kB / 0.5357 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3411, allocations: 1.375 kB / 0.5357 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.3412, allocations: 17.61 kB / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3412, allocations: 0 / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.3412, allocations: 1.375 kB / 0.5358 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.3412, allocations: 7.938 kB / 0.5358 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3412, allocations: 3.938 kB / 0.5358 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.3414, allocations: 179.4 kB / 0.5359 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.3415, allocations: 82.39 kB / 0.536 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3415, allocations: 9.312 kB / 0.536 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.3416, allocations: 10.69 kB / 0.536 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.3416, allocations: 10.73 kB / 0.5361 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.3416, allocations: 1.375 kB / 0.5361 GB, free: 8.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.735e-05/0.3417, allocations: 121.3 kB / 0.5362 GB, free: 8.457 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3417, allocations: 0 / 0.5362 GB, free: 8.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.342, allocations: 17.62 kB / 0.5362 GB, free: 8.449 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.001289/0.3433, allocations: 1.003 MB / 0.5372 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.3435, allocations: 50.34 kB / 0.5372 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3435, allocations: 0 / 0.5372 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/0.3436, allocations: 36.72 kB / 0.5372 GB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.344, allocations: 32.41 kB / 0.5373 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.3456, allocations: 1.454 MB / 0.5387 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.346, allocations: 0.6994 MB / 0.5394 GB, free: 5.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.466e-05/0.346, allocations: 24.58 kB / 0.5394 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.3461, allocations: 19.16 kB / 0.5394 GB, free: 5.516 MB / 398.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3461, allocations: 5.469 kB / 0.5394 GB, free: 5.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.3669, allocations: 2.577 MB / 0.5419 GB, free: 4.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.079, allocations: 2.688 kB / 0.5419 GB, free: 4.051 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches