Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 117.6 kB / 17.78 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.001351/0.001351, allocations: 204.7 kB / 18.74 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.451/1.451, allocations: 227.4 MB / 247 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 79.88 kB / 481 MB, free: 4.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3352, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003214/0.3384, allocations: 1.83 MB / 0.5325 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.341, allocations: 1.696 MB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.572e-05/0.3411, allocations: 0.9375 kB / 0.5341 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.3414, allocations: 53.97 kB / 0.5342 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.3418, allocations: 135.6 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.342, allocations: 108.6 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.3423, allocations: 199.6 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.348e-05/0.3424, allocations: 21.5 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3425, allocations: 81.2 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.3428, allocations: 83.05 kB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.3428, allocations: 9.188 kB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.343, allocations: 118.5 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.109e-05/0.3431, allocations: 36.56 kB / 0.5349 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.501e-05/0.3432, allocations: 62.28 kB / 0.535 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.3435, allocations: 226.3 kB / 0.5352 GB, free: 9.855 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3436, allocations: 1.375 kB / 0.5352 GB, free: 9.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3436, allocations: 4 kB / 0.5352 GB, free: 9.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.3436, allocations: 0 / 0.5352 GB, free: 9.852 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000721/0.3443, allocations: 0.4944 MB / 0.5357 GB, free: 9.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3443, allocations: 9.625 kB / 0.5357 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.3444, allocations: 40.11 kB / 0.5357 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.3445, allocations: 17.09 kB / 0.5358 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.3448, allocations: 259.2 kB / 0.536 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.3448, allocations: 5.75 kB / 0.536 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.3449, allocations: 10.69 kB / 0.536 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.3451, allocations: 96.47 kB / 0.5361 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3451, allocations: 3.984 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3452, allocations: 1.375 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.3452, allocations: 3.938 kB / 0.5361 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3453, allocations: 28.48 kB / 0.5362 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.3456, allocations: 226.3 kB / 0.5364 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.3458, allocations: 109 kB / 0.5365 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.346, allocations: 41.67 kB / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.346, allocations: 6.172 kB / 0.5365 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.3462, allocations: 108.5 kB / 0.5366 GB, free: 8.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.3462, allocations: 0 / 0.5366 GB, free: 8.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004898/0.3467, allocations: 171.2 kB / 0.5368 GB, free: 8.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.3469, allocations: 135 kB / 0.5369 GB, free: 8.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.3472, allocations: 242.4 kB / 0.5371 GB, free: 8.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3472, allocations: 28.42 kB / 0.5372 GB, free: 7.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.3473, allocations: 115 kB / 0.5373 GB, free: 7.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.768e-05/0.3473, allocations: 36.72 kB / 0.5373 GB, free: 7.848 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.3474, allocations: 26.92 kB / 0.5373 GB, free: 7.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3475, allocations: 331.3 kB / 0.5377 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/0.3476, allocations: 31.67 kB / 0.5377 GB, free: 7.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.3478, allocations: 69.72 kB / 0.5378 GB, free: 7.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.3479, allocations: 86.36 kB / 0.5378 GB, free: 7.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.348, allocations: 9.031 kB / 0.5379 GB, free: 7.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002928/0.3483, allocations: 137 kB / 0.538 GB, free: 7.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3483, allocations: 10.09 kB / 0.538 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3483, allocations: 1.219 kB / 0.538 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3483, allocations: 1.188 kB / 0.538 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.3484, allocations: 22.42 kB / 0.538 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.3484, allocations: 1.344 kB / 0.538 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.391e-05/0.3485, allocations: 12.48 kB / 0.538 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3486, allocations: 12.69 kB / 0.538 GB, free: 7.238 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001233/0.3487, allocations: 140.4 kB / 0.5382 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.3487, allocations: 17.09 kB / 0.5382 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.3488, allocations: 19.98 kB / 0.5382 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3488, allocations: 1.125 kB / 0.5382 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3488, allocations: 1.188 kB / 0.5382 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.3488, allocations: 5.188 kB / 0.5382 GB, free: 7.074 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.349, allocations: 226.7 kB / 0.5384 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3491, allocations: 1.062 kB / 0.5384 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.3491, allocations: 9.969 kB / 0.5384 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3491, allocations: 5.047 kB / 0.5384 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3491, allocations: 6.062 kB / 0.5385 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3491, allocations: 1.219 kB / 0.5385 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3491, allocations: 1.219 kB / 0.5385 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.3495, allocations: 171.8 kB / 0.5386 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.3495, allocations: 96.53 kB / 0.5387 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.3496, allocations: 7.625 kB / 0.5387 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.3496, allocations: 7.594 kB / 0.5387 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.3497, allocations: 7.016 kB / 0.5387 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.3497, allocations: 8.594 kB / 0.5387 GB, free: 6.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.3499, allocations: 184.2 kB / 0.5389 GB, free: 6.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3499, allocations: 0 / 0.5389 GB, free: 6.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.3502, allocations: 53.06 kB / 0.539 GB, free: 6.422 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00217/0.3524, allocations: 1.109 MB / 0.54 GB, free: 5.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.3527, allocations: 83.38 kB / 0.5401 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3527, allocations: 0.9375 kB / 0.5401 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.3528, allocations: 39.27 kB / 0.5402 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.3532, allocations: 71.56 kB / 0.5402 GB, free: 5.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.3556, allocations: 1.874 MB / 0.5421 GB, free: 3.961 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3559, allocations: 0.7188 MB / 0.5428 GB, free: 3.246 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.3561, allocations: 40.16 kB / 0.5428 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.3562, allocations: 59.03 kB / 0.5429 GB, free: 3.184 MB / 398.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3562, allocations: 0 / 0.5429 GB, free: 3.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03637/0.3926, allocations: 5.289 MB / 0.548 GB, free: 15.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.317, allocations: 4.828 kB / 0.548 GB, free: 15.55 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches