Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 122.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.00123/0.00123, allocations: 202 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.377/1.377, 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.2317/0.2317, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 75.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3489, allocations: 62.43 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003083/0.352, allocations: 1.945 MB / 0.5325 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3537, allocations: 1.053 MB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.3538, allocations: 7.406 kB / 0.5335 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.3542, allocations: 47.94 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.3546, allocations: 98.36 kB / 0.5336 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.355, allocations: 95.2 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.3553, allocations: 148.1 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.3554, allocations: 31.67 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.3556, allocations: 60.45 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.3557, allocations: 45.47 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.3558, allocations: 6.875 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3559, allocations: 47.61 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.356, allocations: 29.34 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.677e-05/0.3561, allocations: 55.98 kB / 0.5341 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.3564, allocations: 147.3 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3564, allocations: 8 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3564, allocations: 1.375 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.3565, allocations: 0 / 0.5343 GB, free: 10.5 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.0007069/0.3572, allocations: 481.7 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3572, allocations: 9.625 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.3573, allocations: 40.11 kB / 0.5348 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.3573, allocations: 17 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.3577, allocations: 243.5 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.3577, allocations: 7.125 kB / 0.5351 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.3577, allocations: 9.438 kB / 0.5351 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.358, allocations: 106.4 kB / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.358, allocations: 0 / 0.5352 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.3581, allocations: 5.375 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3581, allocations: 1.375 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.3582, allocations: 61.28 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.3589, allocations: 0.4958 MB / 0.5357 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.3592, allocations: 97.09 kB / 0.5358 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.452e-05/0.3593, allocations: 35.56 kB / 0.5358 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3594, allocations: 5.141 kB / 0.5358 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.3595, allocations: 81.66 kB / 0.5359 GB, free: 8.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.3596, allocations: 0 / 0.5359 GB, free: 8.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003973/0.36, allocations: 150.5 kB / 0.5361 GB, free: 8.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.36, allocations: 56.72 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3602, allocations: 195.4 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3602, allocations: 31.89 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.3603, allocations: 118.5 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.3603, allocations: 35 kB / 0.5365 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.3604, allocations: 30.83 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3605, allocations: 327.5 kB / 0.5368 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.18e-05/0.3606, allocations: 31.98 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3607, allocations: 64.36 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.3609, allocations: 97.02 kB / 0.537 GB, free: 7.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3609, allocations: 1.156 kB / 0.537 GB, free: 7.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002765/0.3612, allocations: 133.3 kB / 0.5371 GB, free: 7.852 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3612, allocations: 8.625 kB / 0.5371 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3612, allocations: 9.078 kB / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3613, allocations: 5.906 kB / 0.5372 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3614, allocations: 21.91 kB / 0.5372 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.3614, allocations: 6.078 kB / 0.5372 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.3615, allocations: 9.312 kB / 0.5372 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3615, allocations: 4.031 kB / 0.5372 GB, free: 7.828 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.00011/0.3616, allocations: 130.9 kB / 0.5373 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.3616, allocations: 15.83 kB / 0.5373 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.466e-05/0.3617, allocations: 17.34 kB / 0.5374 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3617, allocations: 9.125 kB / 0.5374 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3617, allocations: 0 / 0.5374 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3617, allocations: 5.031 kB / 0.5374 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.3619, allocations: 218 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3619, allocations: 1.406 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.501e-05/0.362, allocations: 8.812 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.362, allocations: 1.062 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3621, allocations: 1.625 kB / 0.5376 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3621, allocations: 3.938 kB / 0.5376 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.3621, allocations: 3.984 kB / 0.5376 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.3625, allocations: 181.9 kB / 0.5378 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.3625, allocations: 88.52 kB / 0.5379 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.3626, allocations: 1.062 kB / 0.5379 GB, free: 7.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.3626, allocations: 15.91 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.3627, allocations: 3.156 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.3627, allocations: 11.98 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.3628, allocations: 145.1 kB / 0.538 GB, free: 7.066 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.3629, allocations: 0 / 0.538 GB, free: 7.066 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.3631, allocations: 32.31 kB / 0.5381 GB, free: 7.055 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.001406/0.3645, allocations: 1.022 MB / 0.5391 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.3648, allocations: 74.66 kB / 0.5391 GB, free: 6.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3648, allocations: 1.156 kB / 0.5391 GB, free: 6.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3649, allocations: 41.72 kB / 0.5392 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.3652, allocations: 43.77 kB / 0.5392 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.3675, allocations: 1.751 MB / 0.5409 GB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.3678, allocations: 0.7162 MB / 0.5416 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.633e-05/0.3679, allocations: 19.36 kB / 0.5416 GB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.932e-05/0.368, allocations: 48.2 kB / 0.5417 GB, free: 3.945 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.368, allocations: 3.938 kB / 0.5417 GB, free: 3.941 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.3912, allocations: 3.857 MB / 0.5455 GB, free: 1.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.54/7.932, allocations: 21.95 kB / 0.5455 GB, free: 1.871 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches