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.001232/0.001232, allocations: 118.8 kB / 17.78 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.00122/0.00122, allocations: 201.2 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 87.75 kB / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4048, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003317/0.4082, allocations: 1.682 MB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.4093, allocations: 0.573 MB / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.4094, allocations: 0 / 0.5327 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.4097, allocations: 59.98 kB / 0.5328 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003126/0.41, allocations: 90.44 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005212/0.4105, allocations: 174.1 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.4108, allocations: 98.17 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.411, allocations: 14.8 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.826e-05/0.4111, allocations: 38 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.4113, allocations: 47.02 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.4113, allocations: 4.125 kB / 0.5332 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.4114, allocations: 52.98 kB / 0.5333 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.262e-05/0.4115, allocations: 28.16 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.4116, allocations: 34.61 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.4119, allocations: 117.8 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4119, allocations: 1.375 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4119, allocations: 0 / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.4119, allocations: 0 / 0.5335 GB, free: 11.2 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.0007199/0.4127, allocations: 419.9 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.4127, allocations: 9.625 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.4128, allocations: 36.12 kB / 0.5339 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.4128, allocations: 14.25 kB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.4131, allocations: 216.3 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.4131, allocations: 5.75 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.4131, allocations: 3.125 kB / 0.5341 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.4134, allocations: 76.78 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.4134, allocations: 1.375 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.4134, allocations: 0 / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4135, allocations: 1.375 kB / 0.5342 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.4136, allocations: 48.7 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.4142, allocations: 320.5 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.4146, allocations: 60.33 kB / 0.5346 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.4147, allocations: 34.22 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.4147, allocations: 1.406 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.4148, allocations: 36.11 kB / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.4148, allocations: 0 / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001553/0.4163, allocations: 428.1 kB / 0.5351 GB, free: 9.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.4164, allocations: 53.81 kB / 0.5352 GB, free: 9.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.4166, allocations: 183.4 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.4166, allocations: 25.7 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.4167, allocations: 109.8 kB / 0.5355 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.4168, allocations: 43.75 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.4168, allocations: 21.97 kB / 0.5355 GB, free: 9.348 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4169, allocations: 322.6 kB / 0.5358 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.4171, allocations: 60.08 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.4172, allocations: 53.61 kB / 0.5359 GB, free: 8.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.4175, allocations: 127.9 kB / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4175, allocations: 0 / 0.5361 GB, free: 8.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003227/0.4178, allocations: 165.3 kB / 0.5362 GB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4179, allocations: 9.391 kB / 0.5362 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4179, allocations: 0 / 0.5362 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.4179, allocations: 5.812 kB / 0.5362 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.418, allocations: 24.52 kB / 0.5363 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.418, allocations: 0 / 0.5363 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.4181, allocations: 10.67 kB / 0.5363 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.4181, allocations: 14.84 kB / 0.5363 GB, free: 8.785 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.0001046/0.4183, allocations: 127.3 kB / 0.5364 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.4183, allocations: 17.69 kB / 0.5364 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000438/0.4187, allocations: 189.1 kB / 0.5366 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.4188, allocations: 6.094 kB / 0.5366 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4188, allocations: 3.984 kB / 0.5366 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4188, allocations: 5.094 kB / 0.5366 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.4195, allocations: 0.4891 MB / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4195, allocations: 1.531 kB / 0.5371 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.4196, allocations: 27.84 kB / 0.5371 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4196, allocations: 6.281 kB / 0.5371 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4196, allocations: 5.062 kB / 0.5371 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4196, allocations: 1.031 kB / 0.5371 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4196, allocations: 1.719 kB / 0.5371 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.42, allocations: 285.5 kB / 0.5374 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.4201, allocations: 88.38 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.4201, allocations: 1.125 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.4202, allocations: 15.05 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.4203, allocations: 4.562 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.4203, allocations: 3.344 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.4204, allocations: 145 kB / 0.5376 GB, free: 7.625 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4204, allocations: 0 / 0.5376 GB, free: 7.625 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.4207, allocations: 26.91 kB / 0.5377 GB, free: 7.617 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.001638/0.4224, allocations: 1.16 MB / 0.5388 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003768/0.4227, allocations: 136.8 kB / 0.5389 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4228, allocations: 0 / 0.5389 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.4229, allocations: 71.3 kB / 0.539 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.4233, allocations: 26.48 kB / 0.539 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.4256, allocations: 1.89 MB / 0.5409 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.4259, allocations: 0.722 MB / 0.5416 GB, free: 4.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.803e-05/0.426, allocations: 35.61 kB / 0.5416 GB, free: 4.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/0.4261, allocations: 44 kB / 0.5417 GB, free: 4.277 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4261, allocations: 0 / 0.5417 GB, free: 4.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.4483, allocations: 3.478 MB / 0.5451 GB, free: 2.387 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/8.023, allocations: 15.55 kB / 0.5451 GB, free: 2.375 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