Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001533/0.001533, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001832/0.001833, allocations: 201.2 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.35/1.35, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.11 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003053/0.003053, allocations: 83.86 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3337, allocations: 62.46 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002862/0.3366, allocations: 1.596 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009278/0.3376, allocations: 0.5428 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.3376, allocations: 0 / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.3378, allocations: 28.09 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002458/0.3381, allocations: 80.12 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.3384, allocations: 113.9 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.3385, allocations: 66.83 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.3386, allocations: 10.52 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.3387, allocations: 24.23 kB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.3387, allocations: 22.41 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.3388, allocations: 7.391 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-05/0.3389, allocations: 36.92 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.3389, allocations: 17.14 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.339, allocations: 19.94 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.3391, allocations: 90.14 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3391, allocations: 1.438 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3391, allocations: 3.938 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3392, allocations: 0 / 0.5332 GB, free: 11.35 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.0004617/0.3396, allocations: 394.5 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3397, allocations: 12.84 kB / 0.5336 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.3397, allocations: 35.84 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.3398, allocations: 13.38 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.34, allocations: 194.2 kB / 0.5339 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.34, allocations: 9.438 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.34, allocations: 5.469 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.3401, allocations: 44.81 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3402, allocations: 1.344 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.3402, allocations: 0 / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3402, allocations: 0 / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.599e-05/0.3403, allocations: 25.75 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.3407, allocations: 298 kB / 0.5342 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.3409, allocations: 41.81 kB / 0.5343 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.3409, allocations: 18.88 kB / 0.5343 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.341, allocations: 1.312 kB / 0.5343 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.341, allocations: 36.06 kB / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 5.891e-06/0.341, allocations: 0 / 0.5343 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005385/0.3415, allocations: 155.2 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.3416, allocations: 56.16 kB / 0.5345 GB, free: 10.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.3418, allocations: 183.6 kB / 0.5347 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.3418, allocations: 25.7 kB / 0.5347 GB, free: 9.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.3419, allocations: 101.5 kB / 0.5348 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.3419, allocations: 13.28 kB / 0.5348 GB, free: 9.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.342, allocations: 21.75 kB / 0.5348 GB, free: 9.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3421, allocations: 322.1 kB / 0.5352 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/0.3422, allocations: 20.58 kB / 0.5352 GB, free: 9.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.537e-05/0.3422, allocations: 24.34 kB / 0.5352 GB, free: 9.387 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.3424, allocations: 50.95 kB / 0.5352 GB, free: 9.359 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3424, allocations: 0 / 0.5352 GB, free: 9.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001859/0.3426, allocations: 95.94 kB / 0.5353 GB, free: 9.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3426, allocations: 5.5 kB / 0.5353 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3426, allocations: 48 / 0.5353 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3426, allocations: 3.984 kB / 0.5353 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.3427, allocations: 14.94 kB / 0.5354 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3427, allocations: 3.938 kB / 0.5354 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.3427, allocations: 6.734 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.3428, allocations: 1.375 kB / 0.5354 GB, free: 9.277 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.225e-05/0.3429, allocations: 122.1 kB / 0.5355 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.3429, allocations: 12.06 kB / 0.5355 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.3431, allocations: 93.72 kB / 0.5356 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3431, allocations: 0 / 0.5356 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3432, allocations: 3.938 kB / 0.5356 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3432, allocations: 5.312 kB / 0.5356 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.3436, allocations: 365.7 kB / 0.5359 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3436, allocations: 4 kB / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.404e-05/0.3437, allocations: 9.625 kB / 0.536 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.3437, allocations: 5.312 kB / 0.536 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3437, allocations: 3.984 kB / 0.536 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3437, allocations: 1.375 kB / 0.536 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3437, allocations: 0 / 0.536 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.344, allocations: 187.2 kB / 0.5362 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.344, allocations: 86.39 kB / 0.5362 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.344, allocations: 5.312 kB / 0.5362 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.74e-05/0.3441, allocations: 6.75 kB / 0.5362 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.3442, allocations: 6.734 kB / 0.5363 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.3442, allocations: 1.375 kB / 0.5363 GB, free: 8.426 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.3443, allocations: 136.7 kB / 0.5364 GB, free: 8.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.224e-06/0.3443, allocations: 0 / 0.5364 GB, free: 8.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.3445, allocations: 22.88 kB / 0.5364 GB, free: 8.316 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.001819/0.3463, allocations: 1.013 MB / 0.5374 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3466, allocations: 58.45 kB / 0.5374 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3466, allocations: 1.094 kB / 0.5374 GB, free: 7.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.35e-05/0.3467, allocations: 28.55 kB / 0.5375 GB, free: 7.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.347, allocations: 17.95 kB / 0.5375 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.3488, allocations: 1.513 MB / 0.539 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.3491, allocations: 0.6991 MB / 0.5397 GB, free: 5.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.258e-05/0.3491, allocations: 16.2 kB / 0.5397 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.3492, allocations: 27.42 kB / 0.5397 GB, free: 5.363 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3492, allocations: 3.938 kB / 0.5397 GB, free: 5.359 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.3712, allocations: 2.681 MB / 0.5423 GB, free: 3.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.711/8.083, allocations: 10.02 kB / 0.5423 GB, free: 3.844 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches