Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0016/0.0016, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001897/0.001898, allocations: 205.2 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.446/1.446, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.12 MB / 344.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 75.88 kB / 481 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3522, allocations: 62.46 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003122/0.3554, allocations: 1.696 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.3572, allocations: 1.002 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.589e-05/0.3573, allocations: 0 / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.3576, allocations: 64.8 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003347/0.358, allocations: 100.3 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.3582, allocations: 79.83 kB / 0.5336 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.3584, allocations: 101.8 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.773e-05/0.3585, allocations: 9.734 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.829e-05/0.3586, allocations: 50.97 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.3587, allocations: 43.08 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.3587, allocations: 8.062 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.118e-05/0.3588, allocations: 32.61 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.3589, allocations: 21.41 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.359, allocations: 35.98 kB / 0.5339 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.3592, allocations: 112.3 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3592, allocations: 1.375 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3592, allocations: 0 / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3592, allocations: 0 / 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.0006306/0.3599, allocations: 411.6 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3599, allocations: 9.625 kB / 0.5344 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.36, allocations: 42.67 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.36, allocations: 14.34 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.3603, allocations: 208 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.3604, allocations: 1.75 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3604, allocations: 5.312 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.3605, allocations: 51.3 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.3605, allocations: 4 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.3606, allocations: 1.375 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3606, allocations: 0 / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.06e-05/0.3606, allocations: 16.19 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.3609, allocations: 187.4 kB / 0.5349 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.361, allocations: 51.12 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.3611, allocations: 25.09 kB / 0.5349 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3611, allocations: 1.375 kB / 0.5349 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.3613, allocations: 63.77 kB / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.3613, allocations: 0 / 0.535 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002866/0.3616, allocations: 96.06 kB / 0.5351 GB, free: 9.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.3617, allocations: 52.78 kB / 0.5351 GB, free: 9.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.3619, allocations: 195.9 kB / 0.5353 GB, free: 9.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.3619, allocations: 29.7 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.362, allocations: 101.2 kB / 0.5355 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.362, allocations: 22.36 kB / 0.5355 GB, free: 9.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.3621, allocations: 23.52 kB / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3622, allocations: 325.5 kB / 0.5358 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.822e-05/0.3623, allocations: 11.47 kB / 0.5358 GB, free: 8.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.3624, allocations: 31.64 kB / 0.5359 GB, free: 8.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.3625, allocations: 47.98 kB / 0.5359 GB, free: 8.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3625, allocations: 3.938 kB / 0.5359 GB, free: 8.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001601/0.3626, allocations: 88.31 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3627, allocations: 4.844 kB / 0.536 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3627, allocations: 5.469 kB / 0.536 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3627, allocations: 3.938 kB / 0.536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.3628, allocations: 9.094 kB / 0.536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3628, allocations: 5.094 kB / 0.536 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.3628, allocations: 10.73 kB / 0.536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.3629, allocations: 1.469 kB / 0.536 GB, free: 8.82 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.0001019/0.363, allocations: 125.1 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.363, allocations: 9.391 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.363, allocations: 18.02 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.363, allocations: 0 / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.363, allocations: 1.375 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3631, allocations: 0 / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.3632, allocations: 197 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3633, allocations: 0 / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.3633, allocations: 3.625 kB / 0.5364 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3633, allocations: 3.938 kB / 0.5364 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3633, allocations: 5.141 kB / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3633, allocations: 1.094 kB / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3633, allocations: 0 / 0.5364 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.3635, allocations: 109.8 kB / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.3636, allocations: 87.47 kB / 0.5366 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.3636, allocations: 2.156 kB / 0.5366 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.3637, allocations: 5.047 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.3637, allocations: 2.344 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.3637, allocations: 2.281 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3639, allocations: 148.1 kB / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3639, allocations: 0 / 0.5367 GB, free: 8.141 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.3641, allocations: 21.59 kB / 0.5367 GB, free: 8.133 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.001914/0.366, allocations: 0.9505 MB / 0.5377 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.3662, allocations: 44.16 kB / 0.5377 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3662, allocations: 3.938 kB / 0.5377 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.792e-05/0.3663, allocations: 15.81 kB / 0.5377 GB, free: 7.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.3665, allocations: 39.59 kB / 0.5378 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.3683, allocations: 1.501 MB / 0.5392 GB, free: 6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.3686, allocations: 0.6992 MB / 0.5399 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.603e-05/0.3687, allocations: 13.14 kB / 0.5399 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.3687, allocations: 33.77 kB / 0.54 GB, free: 5.262 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3688, allocations: 4 kB / 0.54 GB, free: 5.258 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.3933, allocations: 3.148 MB / 0.543 GB, free: 3.535 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.349, allocations: 12.83 kB / 0.543 GB, free: 3.527 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches