Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001082, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 198 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.361/1.361, 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.2172/0.2172, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 75.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.308, allocations: 62.42 MB / 0.5306 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003936/0.312, allocations: 1.942 MB / 0.5325 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.3142, allocations: 1.061 MB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.3143, allocations: 3.281 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.3147, allocations: 48.44 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.3151, allocations: 90.47 kB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.3153, allocations: 102.9 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.3156, allocations: 143.9 kB / 0.5339 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.3158, allocations: 31.8 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.3159, allocations: 56.38 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.316, allocations: 53.33 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.316, allocations: 6.875 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3162, allocations: 47.61 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.3163, allocations: 22.8 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.291e-05/0.3164, allocations: 54.55 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.3166, allocations: 159.3 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3167, allocations: 5.312 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3167, allocations: 0 / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.3167, allocations: 0 / 0.5343 GB, free: 10.54 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008851/0.3176, allocations: 477.8 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.3176, allocations: 9.625 kB / 0.5348 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.3177, allocations: 44.05 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.627e-05/0.3178, allocations: 17 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.3181, allocations: 239.5 kB / 0.535 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.3182, allocations: 7.125 kB / 0.535 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.3182, allocations: 13.42 kB / 0.5351 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.3185, allocations: 110.4 kB / 0.5352 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3185, allocations: 0 / 0.5352 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3185, allocations: 1.375 kB / 0.5352 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3186, allocations: 5.375 kB / 0.5352 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.3187, allocations: 54.97 kB / 0.5352 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006752/0.3194, allocations: 0.4996 MB / 0.5357 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.3197, allocations: 91.72 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.108e-05/0.3198, allocations: 39.17 kB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3199, allocations: 1.312 kB / 0.5358 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.3201, allocations: 86.39 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3201, allocations: 0 / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003985/0.3205, allocations: 150.4 kB / 0.5361 GB, free: 8.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.3205, allocations: 52.62 kB / 0.5361 GB, free: 8.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.3207, allocations: 196 kB / 0.5363 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.3208, allocations: 26.83 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.279e-05/0.3208, allocations: 126.6 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.3209, allocations: 32.09 kB / 0.5365 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.767e-05/0.3209, allocations: 29.77 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3211, allocations: 332 kB / 0.5368 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.3212, allocations: 23.48 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3213, allocations: 64.7 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.3215, allocations: 101 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3215, allocations: 1.156 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002898/0.3218, allocations: 137.9 kB / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3218, allocations: 5.188 kB / 0.5371 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3218, allocations: 5.219 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3219, allocations: 6.594 kB / 0.5372 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.322, allocations: 25.52 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.322, allocations: 2.75 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.088e-05/0.3221, allocations: 13.31 kB / 0.5372 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3221, allocations: 3.625 kB / 0.5372 GB, free: 7.867 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001187/0.3222, allocations: 133.2 kB / 0.5373 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.3222, allocations: 14.66 kB / 0.5373 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.756e-05/0.3223, allocations: 18.38 kB / 0.5374 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3223, allocations: 5.375 kB / 0.5374 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3223, allocations: 0 / 0.5374 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3223, allocations: 5.172 kB / 0.5374 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3225, allocations: 214.5 kB / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3225, allocations: 0 / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-05/0.3226, allocations: 10 kB / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3226, allocations: 0 / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3226, allocations: 9.547 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3226, allocations: 5.531 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3226, allocations: 0 / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.323, allocations: 184.5 kB / 0.5378 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.3231, allocations: 84.55 kB / 0.5378 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.3231, allocations: 1.094 kB / 0.5378 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-05/0.3232, allocations: 11.95 kB / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.3232, allocations: 12.36 kB / 0.5379 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.3232, allocations: 2.906 kB / 0.5379 GB, free: 7.219 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.3234, allocations: 149 kB / 0.538 GB, free: 7.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.452e-06/0.3234, allocations: 1.062 kB / 0.538 GB, free: 7.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000231/0.3236, allocations: 31.25 kB / 0.538 GB, free: 7.098 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001409/0.325, allocations: 1.023 MB / 0.539 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002438/0.3253, allocations: 71.81 kB / 0.5391 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3253, allocations: 0 / 0.5391 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3254, allocations: 45.84 kB / 0.5392 GB, free: 6.266 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.3257, allocations: 52.95 kB / 0.5392 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.3276, allocations: 1.747 MB / 0.5409 GB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.3278, allocations: 0.716 MB / 0.5416 GB, free: 4.035 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.887e-05/0.3279, allocations: 19.41 kB / 0.5416 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/0.328, allocations: 44.27 kB / 0.5417 GB, free: 3.992 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.328, allocations: 5.094 kB / 0.5417 GB, free: 3.988 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.3485, allocations: 3.857 MB / 0.5454 GB, free: 1.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.254, allocations: 15.77 kB / 0.5455 GB, free: 1.922 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches