Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 118.8 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.001441/0.001441, allocations: 197.2 kB / 18.73 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.502/1.502, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 46.11 MB / 344.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 87.84 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3469, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003061/0.35, allocations: 1.732 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002494/0.3525, allocations: 1.629 MB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.3526, allocations: 5.312 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.3529, allocations: 33.39 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.3532, allocations: 99.03 kB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.3534, allocations: 80.3 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.3536, allocations: 101 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/0.3537, allocations: 14.88 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.488e-05/0.3538, allocations: 49.59 kB / 0.5343 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.3539, allocations: 42.97 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.354, allocations: 4.125 kB / 0.5344 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.3542, allocations: 111 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.3542, allocations: 20.05 kB / 0.5345 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.508e-05/0.3543, allocations: 36.03 kB / 0.5346 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.3546, allocations: 171.7 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3546, allocations: 0 / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3546, allocations: 3.938 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.3546, allocations: 0 / 0.5347 GB, free: 10.24 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005979/0.3552, allocations: 430.2 kB / 0.5351 GB, free: 9.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.3552, allocations: 9.562 kB / 0.5351 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.3553, allocations: 36.11 kB / 0.5352 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.3553, allocations: 20.84 kB / 0.5352 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.3557, allocations: 211.5 kB / 0.5354 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3557, allocations: 9.406 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.3557, allocations: 2.844 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.3559, allocations: 65.92 kB / 0.5355 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3559, allocations: 4 kB / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3559, allocations: 0.8438 kB / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3559, allocations: 0.8438 kB / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.365e-05/0.356, allocations: 18.86 kB / 0.5355 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.3564, allocations: 293 kB / 0.5358 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.3566, allocations: 61.83 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.3567, allocations: 21.41 kB / 0.5359 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3567, allocations: 1.375 kB / 0.5359 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.3568, allocations: 65.77 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3569, allocations: 3.938 kB / 0.5359 GB, free: 8.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006848/0.3575, allocations: 177.3 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.3576, allocations: 86.11 kB / 0.5362 GB, free: 8.785 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.3578, allocations: 163.2 kB / 0.5363 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.3578, allocations: 30.86 kB / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.3579, allocations: 99.38 kB / 0.5365 GB, free: 8.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.3579, allocations: 28.38 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.358, allocations: 28.48 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3581, allocations: 321.2 kB / 0.5368 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.3582, allocations: 15.28 kB / 0.5368 GB, free: 8.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.408e-05/0.3583, allocations: 49.88 kB / 0.5369 GB, free: 8.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.3584, allocations: 59.03 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3584, allocations: 0 / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001932/0.3586, allocations: 102.6 kB / 0.537 GB, free: 7.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3586, allocations: 6.594 kB / 0.537 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3587, allocations: 0 / 0.537 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3587, allocations: 5.531 kB / 0.537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.3588, allocations: 20.75 kB / 0.5371 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3588, allocations: 1.5 kB / 0.5371 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.021e-05/0.3588, allocations: 11.02 kB / 0.5371 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.3589, allocations: 2.469 kB / 0.5371 GB, free: 7.977 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 (10): * Single equations (assignments): 10 * 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.000111/0.359, allocations: 120.5 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.359, allocations: 8.828 kB / 0.5372 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.3591, allocations: 20.81 kB / 0.5372 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3591, allocations: 7.938 kB / 0.5372 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3591, allocations: 5.344 kB / 0.5372 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3591, allocations: 0 / 0.5372 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/0.3596, allocations: 396.7 kB / 0.5376 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.3596, allocations: 3.938 kB / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.3597, allocations: 7.812 kB / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3597, allocations: 1.281 kB / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.3597, allocations: 1.188 kB / 0.5376 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3597, allocations: 5.422 kB / 0.5376 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3597, allocations: 5.344 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.36, allocations: 203.6 kB / 0.5378 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.36, allocations: 88.16 kB / 0.5379 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.3601, allocations: 4.969 kB / 0.5379 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.3601, allocations: 7.328 kB / 0.5379 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.3602, allocations: 2.375 kB / 0.5379 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.3602, allocations: 7.844 kB / 0.5379 GB, free: 7.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.3603, allocations: 127.4 kB / 0.5381 GB, free: 7.039 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3603, allocations: 0 / 0.5381 GB, free: 7.039 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.3606, allocations: 49.8 kB / 0.5381 GB, free: 7.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002433/0.3631, allocations: 1.181 MB / 0.5393 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.3633, allocations: 62.28 kB / 0.5393 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3634, allocations: 0 / 0.5393 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.878e-05/0.3635, allocations: 29.7 kB / 0.5393 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.364, allocations: 43.95 kB / 0.5394 GB, free: 6.059 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.3666, allocations: 1.587 MB / 0.5409 GB, free: 4.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.3671, allocations: 0.6952 MB / 0.5416 GB, free: 3.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.3672, allocations: 23.52 kB / 0.5416 GB, free: 3.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.3674, allocations: 46.44 kB / 0.5417 GB, free: 3.879 MB / 398.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3674, allocations: 3.938 kB / 0.5417 GB, free: 3.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/0.4027, allocations: 4.009 MB / 0.5456 GB, free: 1.656 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.241/8.644, allocations: 14.02 kB / 0.5456 GB, free: 1.645 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches