Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001602/0.001602, allocations: 117.2 kB / 17.79 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001848/0.001848, allocations: 204.6 kB / 18.74 MB, free: 4.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247 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.2207/0.2207, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 79.88 kB / 481 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3189, allocations: 62.46 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003623/0.3225, allocations: 2.276 MB / 0.533 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.3247, allocations: 1.317 MB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3249, allocations: 8.062 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.3253, allocations: 124.6 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.3258, allocations: 240.9 kB / 0.5346 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.3262, allocations: 190.1 kB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005074/0.3267, allocations: 458.5 kB / 0.5352 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.3269, allocations: 55.14 kB / 0.5353 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.3272, allocations: 263.4 kB / 0.5355 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.3274, allocations: 161.3 kB / 0.5357 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.3274, allocations: 17.12 kB / 0.5357 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.3276, allocations: 75.44 kB / 0.5358 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.3277, allocations: 130 kB / 0.5359 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.3279, allocations: 194.4 kB / 0.5361 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004972/0.3284, allocations: 443.7 kB / 0.5365 GB, free: 9.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3284, allocations: 0 / 0.5365 GB, free: 9.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3284, allocations: 0 / 0.5365 GB, free: 9.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3284, allocations: 1.281 kB / 0.5365 GB, free: 9.047 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001126/0.3296, allocations: 0.8427 MB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3296, allocations: 9.438 kB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.3297, allocations: 51.92 kB / 0.5374 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.522e-05/0.3298, allocations: 63.64 kB / 0.5374 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.3303, allocations: 427.9 kB / 0.5378 GB, free: 7.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.3304, allocations: 10.66 kB / 0.5379 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.3304, allocations: 25.47 kB / 0.5379 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.3308, allocations: 192.8 kB / 0.5381 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3308, allocations: 0.9062 kB / 0.5381 GB, free: 7.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.3309, allocations: 9.922 kB / 0.5381 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3309, allocations: 4 kB / 0.5381 GB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.3311, allocations: 89.28 kB / 0.5382 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009662/0.3321, allocations: 0.8019 MB / 0.5389 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.3327, allocations: 251.3 kB / 0.5392 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001805/0.3329, allocations: 82.25 kB / 0.5393 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.333, allocations: 12.12 kB / 0.5393 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003589/0.3333, allocations: 206.1 kB / 0.5395 GB, free: 6.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.3333, allocations: 0 / 0.5395 GB, free: 6.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002438/0.3358, allocations: 1.149 MB / 0.5406 GB, free: 5.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/0.3359, allocations: 133 kB / 0.5407 GB, free: 5.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008444/0.3367, allocations: 0.8007 MB / 0.5415 GB, free: 5.246 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.3368, allocations: 41.7 kB / 0.5415 GB, free: 5.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.337, allocations: 237.1 kB / 0.5418 GB, free: 4.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.3371, allocations: 146.6 kB / 0.5419 GB, free: 4.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.3372, allocations: 83.67 kB / 0.542 GB, free: 4.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3374, allocations: 376.2 kB / 0.5423 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.3377, allocations: 112.2 kB / 0.5425 GB, free: 4.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.3379, allocations: 182.7 kB / 0.5426 GB, free: 4.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.3385, allocations: 321.1 kB / 0.5429 GB, free: 4.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3385, allocations: 5.062 kB / 0.5429 GB, free: 4.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007141/0.3392, allocations: 432.9 kB / 0.5434 GB, free: 3.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3392, allocations: 6.406 kB / 0.5434 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3392, allocations: 1.406 kB / 0.5434 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3393, allocations: 4.125 kB / 0.5434 GB, free: 3.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.3395, allocations: 96.64 kB / 0.5435 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3396, allocations: 8.406 kB / 0.5435 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.3397, allocations: 19.92 kB / 0.5435 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.3397, allocations: 13.5 kB / 0.5435 GB, free: 3.812 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002422/0.34, allocations: 241.8 kB / 0.5437 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.872e-05/0.3401, allocations: 70.12 kB / 0.5438 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.3402, allocations: 80.06 kB / 0.5439 GB, free: 3.543 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.3402, allocations: 9.344 kB / 0.5439 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.3403, allocations: 9.938 kB / 0.5439 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.3403, allocations: 0.9375 kB / 0.5439 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001642/0.3419, allocations: 1.304 MB / 0.5452 GB, free: 2.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3419, allocations: 4 kB / 0.5452 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.3421, allocations: 63.91 kB / 0.5452 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.3421, allocations: 7.938 kB / 0.5452 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.3421, allocations: 12 kB / 0.5452 GB, free: 2.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.3422, allocations: 4 kB / 0.5453 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.3422, allocations: 12.12 kB / 0.5453 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/0.3431, allocations: 0.7939 MB / 0.546 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.3433, allocations: 176.6 kB / 0.5462 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/0.3433, allocations: 8 kB / 0.5462 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.3436, allocations: 24.36 kB / 0.5462 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.3437, allocations: 39.89 kB / 0.5463 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.3438, allocations: 23.98 kB / 0.5463 GB, free: 1.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000639/0.3444, allocations: 0.5811 MB / 0.5469 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3444, allocations: 7.875 kB / 0.5469 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005022/0.3449, allocations: 87.92 kB / 0.547 GB, free: 0.4922 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002969/0.3479, allocations: 1.754 MB / 0.5487 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000618/0.3485, allocations: 323.6 kB / 0.549 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3485, allocations: 0 / 0.549 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.3489, allocations: 163.6 kB / 0.5491 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009196/0.3498, allocations: 126.3 kB / 0.5493 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005828/0.3556, allocations: 4.756 MB / 0.5539 GB, free: 9.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.3562, allocations: 0.8782 MB / 0.5548 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002151/0.3564, allocations: 80.03 kB / 0.5548 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.3567, allocations: 199.4 kB / 0.555 GB, free: 8.16 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3567, allocations: 0 / 0.555 GB, free: 8.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.3902, allocations: 10.83 MB / 0.5656 GB, free: 13.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/8.866, allocations: 8.578 kB / 0.5656 GB, free: 13.44 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches