Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 118.8 kB / 17.78 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.001262/0.001262, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2482/0.2482, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 72.22 kB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3244, allocations: 62.44 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003434/0.3279, allocations: 1.939 MB / 0.5325 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3299, allocations: 1.055 MB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.33, allocations: 6.125 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.3304, allocations: 41.06 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.3308, allocations: 102.2 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.3311, allocations: 94.83 kB / 0.5337 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.3314, allocations: 148.4 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.3315, allocations: 27.3 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.3316, allocations: 56.34 kB / 0.534 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.3317, allocations: 49.47 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.3318, allocations: 6.875 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.3319, allocations: 51.59 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.332, allocations: 30.72 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.332, allocations: 50.62 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.3323, allocations: 151.3 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3324, allocations: 1.375 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3324, allocations: 4 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.3324, allocations: 3.938 kB / 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.000697/0.3331, allocations: 489.7 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3331, allocations: 9.625 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.3332, allocations: 37.5 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.3332, allocations: 15.62 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.3336, allocations: 239.5 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3336, allocations: 4.5 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.3337, allocations: 12.06 kB / 0.5351 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.3339, allocations: 108.5 kB / 0.5352 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3339, allocations: 0 / 0.5352 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3339, allocations: 5.375 kB / 0.5352 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.334, allocations: 1.375 kB / 0.5352 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.3341, allocations: 59.39 kB / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.3347, allocations: 0.4958 MB / 0.5357 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.335, allocations: 96.55 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.3351, allocations: 38.44 kB / 0.5358 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3352, allocations: 1.469 kB / 0.5358 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.3354, allocations: 77.41 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.3354, allocations: 0 / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003948/0.3358, allocations: 152.1 kB / 0.5361 GB, free: 8.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.3358, allocations: 52.53 kB / 0.5361 GB, free: 8.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.336, allocations: 203.6 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.336, allocations: 26.77 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.326e-05/0.3361, allocations: 122.8 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.3362, allocations: 35.06 kB / 0.5365 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.3362, allocations: 26.66 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3363, allocations: 334.8 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.429e-05/0.3364, allocations: 28.92 kB / 0.5369 GB, free: 8.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.652e-05/0.3365, allocations: 55.88 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.3367, allocations: 105.5 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3368, allocations: 1.156 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003032/0.3371, allocations: 134.2 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3371, allocations: 5.125 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3371, allocations: 1.312 kB / 0.5371 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3371, allocations: 9.5 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3372, allocations: 27.3 kB / 0.5372 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3373, allocations: 1.188 kB / 0.5372 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.3373, allocations: 16.98 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.3374, allocations: 8.953 kB / 0.5372 GB, free: 7.855 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.0001085/0.3375, allocations: 129.9 kB / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.3375, allocations: 11.66 kB / 0.5373 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.3376, allocations: 21.89 kB / 0.5374 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3376, allocations: 5.375 kB / 0.5374 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3376, allocations: 4 kB / 0.5374 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3376, allocations: 0 / 0.5374 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.3378, allocations: 214.5 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3378, allocations: 0 / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.032e-05/0.3379, allocations: 13.95 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3379, allocations: 1.438 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3379, allocations: 1.469 kB / 0.5376 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.3379, allocations: 3.938 kB / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3379, allocations: 0 / 0.5376 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.3383, allocations: 189.2 kB / 0.5378 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.3384, allocations: 85.36 kB / 0.5379 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.3384, allocations: 5.188 kB / 0.5379 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.3385, allocations: 7.812 kB / 0.5379 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.3385, allocations: 7.703 kB / 0.5379 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.3386, allocations: 2.594 kB / 0.5379 GB, free: 7.211 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.3387, allocations: 149.5 kB / 0.538 GB, free: 7.102 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3387, allocations: 5.438 kB / 0.538 GB, free: 7.098 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.339, allocations: 31.33 kB / 0.5381 GB, free: 7.086 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.001474/0.3404, allocations: 1.019 MB / 0.539 GB, free: 6.305 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.3407, allocations: 83.73 kB / 0.5391 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3407, allocations: 0 / 0.5391 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.3408, allocations: 39.14 kB / 0.5392 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3412, allocations: 49.69 kB / 0.5392 GB, free: 6.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.3432, allocations: 1.749 MB / 0.5409 GB, free: 4.738 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.3435, allocations: 0.7189 MB / 0.5416 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.956e-05/0.3435, allocations: 15.83 kB / 0.5416 GB, free: 4.016 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.3436, allocations: 44.52 kB / 0.5417 GB, free: 3.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.435e-06/0.3436, allocations: 0 / 0.5417 GB, free: 3.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.3681, allocations: 3.86 MB / 0.5455 GB, free: 1.922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/8.123, allocations: 5.922 kB / 0.5455 GB, free: 1.918 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches