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.001263/0.001263, allocations: 122.8 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001271/0.001271, allocations: 197.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.348/1.348, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2129/0.2129, allocations: 46.12 MB / 344.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 84.08 kB / 480.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3196, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002881/0.3225, allocations: 1.594 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.3235, allocations: 0.5514 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.3235, allocations: 0 / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.3237, allocations: 19.72 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.324, allocations: 85.44 kB / 0.5328 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.3243, allocations: 108.9 kB / 0.5329 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.3244, allocations: 66.23 kB / 0.533 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.585e-05/0.3246, allocations: 14.98 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.3246, allocations: 28.67 kB / 0.533 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.578e-05/0.3247, allocations: 21.73 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.3247, allocations: 3.188 kB / 0.5331 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.682e-05/0.3248, allocations: 28.28 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.3248, allocations: 25.12 kB / 0.5331 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.3249, allocations: 16.31 kB / 0.5331 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.3251, allocations: 83.34 kB / 0.5332 GB, free: 11.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3251, allocations: 4 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3251, allocations: 0 / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3251, 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.0004755/0.3256, allocations: 388.4 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3256, allocations: 10.78 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.3257, allocations: 34.73 kB / 0.5336 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.3257, allocations: 8.609 kB / 0.5336 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.3259, allocations: 189.5 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.3259, allocations: 384 / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.3259, allocations: 3.062 kB / 0.5338 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3261, allocations: 56.55 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3261, allocations: 0 / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.3261, allocations: 0 / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3261, allocations: 5.375 kB / 0.5339 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.074e-05/0.3262, allocations: 25.72 kB / 0.5339 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.3266, allocations: 288.1 kB / 0.5342 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.3268, allocations: 40.44 kB / 0.5342 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.3269, allocations: 23.81 kB / 0.5342 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.3269, allocations: 1.375 kB / 0.5343 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.3269, allocations: 31.94 kB / 0.5343 GB, free: 10.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.3269, allocations: 0 / 0.5343 GB, free: 10.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005416/0.3275, allocations: 150.2 kB / 0.5344 GB, free: 10.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.3275, allocations: 56.72 kB / 0.5345 GB, free: 10.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.3277, allocations: 159.1 kB / 0.5346 GB, free: 9.926 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.3277, allocations: 27.08 kB / 0.5347 GB, free: 9.895 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.3277, allocations: 90.89 kB / 0.5347 GB, free: 9.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.3278, allocations: 22.59 kB / 0.5348 GB, free: 9.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.3278, allocations: 13.84 kB / 0.5348 GB, free: 9.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3279, allocations: 325.5 kB / 0.5351 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.328, allocations: 18.98 kB / 0.5351 GB, free: 9.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.3281, allocations: 28.3 kB / 0.5351 GB, free: 9.422 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.3282, allocations: 52.33 kB / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3282, allocations: 0 / 0.5352 GB, free: 9.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001852/0.3284, allocations: 86.89 kB / 0.5353 GB, free: 9.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3285, allocations: 5.5 kB / 0.5353 GB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3285, allocations: 8.047 kB / 0.5353 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3285, allocations: 1.375 kB / 0.5353 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.3286, allocations: 17.61 kB / 0.5353 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3286, allocations: 0 / 0.5353 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.3286, allocations: 4.125 kB / 0.5353 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3286, allocations: 9.25 kB / 0.5353 GB, free: 9.312 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 8.726e-05/0.3287, allocations: 118 kB / 0.5354 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.3288, allocations: 8.078 kB / 0.5354 GB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.329, allocations: 104.3 kB / 0.5355 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.329, allocations: 1.375 kB / 0.5355 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.329, allocations: 0 / 0.5355 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.329, allocations: 1.375 kB / 0.5355 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.3295, allocations: 358.4 kB / 0.5359 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3295, allocations: 1.344 kB / 0.5359 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.3295, allocations: 13.17 kB / 0.5359 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.3295, allocations: 0 / 0.5359 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3295, allocations: 1.312 kB / 0.5359 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.3296, allocations: 9.156 kB / 0.5359 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3296, allocations: 0 / 0.5359 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.3298, allocations: 183.1 kB / 0.5361 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.3298, allocations: 82.62 kB / 0.5362 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.3299, allocations: 1.375 kB / 0.5362 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.3299, allocations: 18.62 kB / 0.5362 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.33, allocations: 9.984 kB / 0.5362 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.33, allocations: 5.031 kB / 0.5362 GB, free: 8.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.042e-05/0.3301, allocations: 121.4 kB / 0.5363 GB, free: 8.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3301, allocations: 0 / 0.5363 GB, free: 8.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.3303, allocations: 14 kB / 0.5363 GB, free: 8.355 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.001782/0.3321, allocations: 1.003 MB / 0.5373 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.3323, allocations: 51.59 kB / 0.5373 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3323, allocations: 0 / 0.5373 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.079e-05/0.3324, allocations: 33.5 kB / 0.5374 GB, free: 7.516 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.3327, allocations: 18.67 kB / 0.5374 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.3343, allocations: 1.47 MB / 0.5388 GB, free: 6.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.3346, allocations: 0.6948 MB / 0.5395 GB, free: 5.453 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.3347, allocations: 20.33 kB / 0.5395 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.3347, allocations: 20.09 kB / 0.5395 GB, free: 5.426 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3347, allocations: 4.938 kB / 0.5395 GB, free: 5.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.3561, allocations: 2.567 MB / 0.5421 GB, free: 3.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/7.968, allocations: 5.984 kB / 0.5421 GB, free: 3.965 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