Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001299, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001129/0.001129, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.211/0.211, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 83.81 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3339, allocations: 62.43 MB / 0.5306 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002982/0.3369, allocations: 1.751 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.3386, allocations: 1.03 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.3386, allocations: 2.094 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.3389, allocations: 49.97 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.3392, allocations: 96.98 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.3394, allocations: 84.22 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3396, allocations: 131.9 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.3397, allocations: 12.23 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.687e-05/0.3398, allocations: 53.78 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.469e-05/0.3399, allocations: 45.7 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.3399, allocations: 10.88 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.3401, allocations: 63.8 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.3401, allocations: 33.45 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.3402, allocations: 37.38 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.3404, allocations: 150.1 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3404, allocations: 1.375 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3404, allocations: 0 / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.3404, allocations: 0 / 0.5341 GB, free: 10.79 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005522/0.341, allocations: 446.5 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.341, allocations: 13.62 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.3411, allocations: 32.12 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.3411, allocations: 15.62 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.3414, allocations: 227.3 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3414, allocations: 7.109 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.3415, allocations: 6.688 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.3416, allocations: 82.3 kB / 0.5349 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3417, allocations: 6 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3417, allocations: 4 kB / 0.5349 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3417, allocations: 7.938 kB / 0.5349 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.3418, allocations: 39.41 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.3423, allocations: 315.6 kB / 0.5352 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.3426, allocations: 85.81 kB / 0.5353 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.545e-05/0.3427, allocations: 30.53 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.3427, allocations: 6.156 kB / 0.5353 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.3429, allocations: 79.06 kB / 0.5354 GB, free: 9.469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 3.066e-06/0.3429, allocations: 0 / 0.5354 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008334/0.3437, allocations: 290 kB / 0.5357 GB, free: 9.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.3438, allocations: 61.66 kB / 0.5357 GB, free: 9.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.344, allocations: 197.7 kB / 0.5359 GB, free: 9.102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.344, allocations: 32.45 kB / 0.536 GB, free: 9.066 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.3441, allocations: 101.1 kB / 0.5361 GB, free: 8.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.3441, allocations: 47.5 kB / 0.5361 GB, free: 8.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.3442, allocations: 32.08 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3443, allocations: 321.4 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.123e-05/0.3444, allocations: 43.02 kB / 0.5365 GB, free: 8.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.033e-05/0.3445, allocations: 57.66 kB / 0.5365 GB, free: 8.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.3447, allocations: 98.83 kB / 0.5366 GB, free: 8.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3447, allocations: 0 / 0.5366 GB, free: 8.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002507/0.3449, allocations: 160.7 kB / 0.5368 GB, free: 8.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3449, allocations: 5.344 kB / 0.5368 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.345, allocations: 1.25 kB / 0.5368 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.345, allocations: 1.438 kB / 0.5368 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.3451, allocations: 27.61 kB / 0.5368 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3451, allocations: 1.375 kB / 0.5368 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.3451, allocations: 14.75 kB / 0.5368 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.3452, allocations: 12.28 kB / 0.5368 GB, free: 8.344 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (15): * Single equations (assignments): 15 * 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.0001041/0.3453, allocations: 129 kB / 0.537 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3453, allocations: 14.12 kB / 0.537 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.205e-05/0.3454, allocations: 25.11 kB / 0.537 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3454, allocations: 5 kB / 0.537 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3454, allocations: 1.094 kB / 0.537 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.3454, allocations: 0 / 0.537 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006186/0.346, allocations: 492.5 kB / 0.5375 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.346, allocations: 1.375 kB / 0.5375 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.3461, allocations: 22.19 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3461, allocations: 1.312 kB / 0.5375 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3461, allocations: 10.7 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3461, allocations: 1.688 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3461, allocations: 1.531 kB / 0.5375 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.3464, allocations: 256.4 kB / 0.5378 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.3465, allocations: 92.7 kB / 0.5378 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.3465, allocations: 3.781 kB / 0.5379 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.3466, allocations: 9.141 kB / 0.5379 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.3467, allocations: 9.766 kB / 0.5379 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.3467, allocations: 8.672 kB / 0.5379 GB, free: 7.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.3468, allocations: 156.4 kB / 0.538 GB, free: 7.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3468, allocations: 0 / 0.538 GB, free: 7.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.3471, allocations: 30.44 kB / 0.5381 GB, free: 7.285 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0016/0.3487, allocations: 1.191 MB / 0.5392 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002552/0.349, allocations: 101.2 kB / 0.5393 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.349, allocations: 0 / 0.5393 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.3491, allocations: 50.14 kB / 0.5394 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.3494, allocations: 37.3 kB / 0.5394 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.3517, allocations: 1.854 MB / 0.5412 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.352, allocations: 0.7117 MB / 0.5419 GB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.758e-05/0.3521, allocations: 31.06 kB / 0.5419 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.3522, allocations: 42.61 kB / 0.542 GB, free: 3.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3522, allocations: 0 / 0.542 GB, free: 3.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.376, allocations: 4.113 MB / 0.546 GB, free: 1.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.176, allocations: 4.562 kB / 0.546 GB, free: 1.797 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches