Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001222/0.001223, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 247 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.2349/0.2349, allocations: 46.12 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 83.88 kB / 481 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3351, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003391/0.3385, allocations: 1.692 MB / 0.5324 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.3402, allocations: 0.9935 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.3403, allocations: 1.375 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.3407, allocations: 63.11 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.341, allocations: 105.9 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.3412, allocations: 81.75 kB / 0.5336 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.3414, allocations: 106.8 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.3415, allocations: 4.859 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3416, allocations: 47.7 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3417, allocations: 43.81 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3417, allocations: 2.688 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.84e-05/0.3418, allocations: 32.88 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.3419, allocations: 18.86 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.342, allocations: 31.44 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.3422, allocations: 128.7 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3422, allocations: 0 / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3422, allocations: 0 / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3422, allocations: 1.156 kB / 0.534 GB, free: 10.85 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.0005683/0.3428, allocations: 414.1 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3428, allocations: 9.875 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.3429, allocations: 32.09 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.3429, allocations: 12.88 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.3433, allocations: 216.9 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3433, allocations: 1.5 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3433, allocations: 10 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.3434, allocations: 50.58 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3435, allocations: 1.219 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.3435, allocations: 0 / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.3435, allocations: 5.203 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.609e-05/0.3436, allocations: 15.05 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.3438, allocations: 184.5 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.344, allocations: 54.84 kB / 0.5349 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.344, allocations: 20.31 kB / 0.5349 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.344, allocations: 1.156 kB / 0.5349 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.3442, allocations: 67.7 kB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.3442, allocations: 1.031 kB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000287/0.3445, allocations: 95.69 kB / 0.5351 GB, free: 9.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.3446, allocations: 52.62 kB / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.3448, allocations: 196.1 kB / 0.5353 GB, free: 9.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3448, allocations: 25.7 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.3449, allocations: 101.6 kB / 0.5355 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.3449, allocations: 22.59 kB / 0.5355 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.345, allocations: 25.77 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3451, allocations: 327 kB / 0.5358 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.918e-05/0.3452, allocations: 10.88 kB / 0.5358 GB, free: 8.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.3452, allocations: 28.7 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.3454, allocations: 42.2 kB / 0.5359 GB, free: 8.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3454, allocations: 5.312 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001552/0.3455, allocations: 83.78 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3456, allocations: 8.156 kB / 0.536 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.3456, allocations: 5.625 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3456, allocations: 1.375 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.3457, allocations: 16.23 kB / 0.536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3457, allocations: 1.375 kB / 0.536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.3457, allocations: 6.75 kB / 0.536 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3457, allocations: 1.375 kB / 0.536 GB, free: 8.828 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.0001121/0.3459, allocations: 133.9 kB / 0.5361 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.3459, allocations: 9.453 kB / 0.5362 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.3459, allocations: 17.12 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3459, allocations: 1.375 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.346, allocations: 0 / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.346, allocations: 1.375 kB / 0.5362 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3461, allocations: 196.6 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3461, allocations: 0 / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.3462, allocations: 4.125 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3462, allocations: 0 / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.3462, allocations: 1.375 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3462, allocations: 0 / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3462, allocations: 5.375 kB / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.3464, allocations: 110 kB / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.3465, allocations: 83.81 kB / 0.5366 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.3465, allocations: 3.984 kB / 0.5366 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.35e-05/0.3465, allocations: 6.688 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.3466, allocations: 1.375 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.3466, allocations: 6.75 kB / 0.5366 GB, free: 8.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.3467, allocations: 148.1 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3468, allocations: 0 / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00022/0.347, allocations: 25.2 kB / 0.5367 GB, free: 8.125 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.00189/0.3489, allocations: 0.9363 MB / 0.5377 GB, free: 7.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.3491, allocations: 47.52 kB / 0.5377 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3491, allocations: 1.062 kB / 0.5377 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.897e-05/0.3491, allocations: 14.94 kB / 0.5377 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.3494, allocations: 37.08 kB / 0.5378 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.3511, allocations: 1.501 MB / 0.5392 GB, free: 6.012 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.3514, allocations: 0.7043 MB / 0.5399 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.443e-05/0.3515, allocations: 20.78 kB / 0.5399 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.3516, allocations: 34.27 kB / 0.54 GB, free: 5.262 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3516, allocations: 0 / 0.54 GB, free: 5.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.3753, allocations: 3.151 MB / 0.543 GB, free: 3.539 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.543, allocations: 9.984 kB / 0.543 GB, free: 3.531 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches