Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.13 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 79.88 kB / 481 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3302, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003277/0.3335, allocations: 1.698 MB / 0.5324 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.3352, allocations: 0.9949 MB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.175e-05/0.3353, allocations: 1.094 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.3357, allocations: 66.14 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.336, allocations: 106.1 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.3362, allocations: 68.92 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3364, allocations: 108 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.3365, allocations: 8.969 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.573e-05/0.3366, allocations: 50.61 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.589e-05/0.3367, allocations: 40.38 kB / 0.5338 GB, free: 11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.3367, allocations: 3.719 kB / 0.5338 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.724e-05/0.3368, allocations: 36.48 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.181e-05/0.3368, allocations: 18.11 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.3369, allocations: 35.39 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.3371, allocations: 113.1 kB / 0.534 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3371, allocations: 0 / 0.534 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3371, allocations: 0 / 0.534 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3371, allocations: 0 / 0.534 GB, free: 10.87 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005506/0.3377, allocations: 412.5 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3377, allocations: 9.469 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.3378, allocations: 38.75 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.3378, allocations: 14.75 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.3382, allocations: 211 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3382, allocations: 1.375 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.3382, allocations: 6.031 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.3384, allocations: 55.52 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.3384, allocations: 0 / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.3384, allocations: 0 / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3384, allocations: 0.9375 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.555e-05/0.3385, allocations: 15.86 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002332/0.3387, allocations: 191.7 kB / 0.5349 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.3389, allocations: 55.45 kB / 0.5349 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.461e-05/0.339, allocations: 16.2 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.339, allocations: 1.25 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.3392, allocations: 72.52 kB / 0.535 GB, free: 9.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.3392, allocations: 0 / 0.535 GB, free: 9.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000282/0.3395, allocations: 95.52 kB / 0.5351 GB, free: 9.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.3395, allocations: 52.78 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.3398, allocations: 192.1 kB / 0.5353 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3398, allocations: 27.08 kB / 0.5354 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.3399, allocations: 104.2 kB / 0.5355 GB, free: 9.355 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.3399, allocations: 22.53 kB / 0.5355 GB, free: 9.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.3399, allocations: 23.22 kB / 0.5355 GB, free: 9.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3401, allocations: 325.6 kB / 0.5358 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.232e-05/0.3401, allocations: 16.23 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.375e-05/0.3402, allocations: 27.33 kB / 0.5359 GB, free: 8.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.599e-05/0.3403, allocations: 47.83 kB / 0.5359 GB, free: 8.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3403, allocations: 7.938 kB / 0.5359 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001528/0.3405, allocations: 83.78 kB / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3405, allocations: 5.5 kB / 0.536 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3405, allocations: 7.922 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3405, allocations: 1.375 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.884e-05/0.3406, allocations: 8.25 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3406, allocations: 1.375 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.096e-05/0.3407, allocations: 2.75 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.3407, allocations: 1.375 kB / 0.536 GB, free: 8.848 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 (7): * Single equations (assignments): 7 * 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.0001105/0.3408, allocations: 143.3 kB / 0.5362 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.3408, allocations: 8.078 kB / 0.5362 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.3409, allocations: 18.48 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3409, allocations: 0 / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3409, allocations: 1.375 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3409, allocations: 0 / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.3411, allocations: 188.7 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3411, allocations: 1.375 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.3411, allocations: 2.75 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3411, allocations: 3.984 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.994e-06/0.3411, allocations: 5.375 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3411, allocations: 1.375 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3411, allocations: 0 / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.3413, allocations: 110 kB / 0.5365 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.3414, allocations: 83.81 kB / 0.5366 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.3414, allocations: 5.312 kB / 0.5366 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.568e-05/0.3415, allocations: 9.438 kB / 0.5366 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.3415, allocations: 9.359 kB / 0.5366 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3415, allocations: 2.75 kB / 0.5366 GB, free: 8.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.3417, allocations: 147.8 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3417, allocations: 1.062 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.3419, allocations: 20.75 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.00188/0.3438, allocations: 0.9424 MB / 0.5377 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.344, allocations: 42.89 kB / 0.5377 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.344, allocations: 0 / 0.5377 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.628e-05/0.344, allocations: 24.61 kB / 0.5377 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.3443, allocations: 26.14 kB / 0.5378 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.3461, allocations: 1.506 MB / 0.5392 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.3464, allocations: 0.7003 MB / 0.5399 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.804e-05/0.3465, allocations: 8.156 kB / 0.5399 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.3466, allocations: 32.89 kB / 0.5399 GB, free: 5.285 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3466, allocations: 1.562 kB / 0.5399 GB, free: 5.285 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.3711, allocations: 3.152 MB / 0.543 GB, free: 3.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/8.054, allocations: 9.172 kB / 0.543 GB, free: 3.551 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches