Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001906/0.001906, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003047/0.003046, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.247/0.247, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 79.88 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4192, allocations: 62.45 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003553/0.4228, allocations: 1.728 MB / 0.5328 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001809/0.4247, allocations: 1.022 MB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.086e-05/0.4248, allocations: 3.938 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.4251, allocations: 48.27 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.4255, allocations: 96.47 kB / 0.5339 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.4257, allocations: 80.28 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.4259, allocations: 104.9 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.426, allocations: 10.88 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.497e-05/0.4261, allocations: 48.27 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.4262, allocations: 29.42 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.4262, allocations: 4.125 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.4263, allocations: 44.8 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.568e-05/0.4264, allocations: 28.16 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.4264, allocations: 41.3 kB / 0.5343 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.4267, allocations: 128.3 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.4267, allocations: 4.969 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.4267, allocations: 0 / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.4267, allocations: 0 / 0.5344 GB, free: 11.05 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.0005996/0.4273, allocations: 430.2 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4274, allocations: 9.469 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.4274, allocations: 11.75 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.4277, allocations: 226.9 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4277, allocations: 1.625 kB / 0.5351 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.4278, allocations: 14.89 kB / 0.5351 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.4279, allocations: 52.92 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.428, allocations: 1.094 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.428, allocations: 0 / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.428, allocations: 5.156 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.574e-05/0.4281, allocations: 18.27 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.4285, allocations: 298.1 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.4287, allocations: 57.61 kB / 0.5355 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.4287, allocations: 20.67 kB / 0.5355 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.4288, allocations: 1.438 kB / 0.5355 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.429, allocations: 73.03 kB / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.429, allocations: 0 / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005661/0.4295, allocations: 184.1 kB / 0.5357 GB, free: 9.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.4296, allocations: 56.41 kB / 0.5358 GB, free: 9.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/0.4299, allocations: 240.4 kB / 0.536 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.4299, allocations: 26.83 kB / 0.5361 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.43, allocations: 114.8 kB / 0.5362 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.43, allocations: 15 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.4301, allocations: 28.73 kB / 0.5362 GB, free: 9.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4302, allocations: 326.9 kB / 0.5365 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.4303, allocations: 22.62 kB / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.517e-05/0.4303, allocations: 36.42 kB / 0.5366 GB, free: 8.965 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.4304, allocations: 63.14 kB / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4305, allocations: 0 / 0.5366 GB, free: 8.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001812/0.4306, allocations: 104.6 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4307, allocations: 5.25 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4307, allocations: 4.031 kB / 0.5367 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.4307, allocations: 1.406 kB / 0.5367 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.4308, allocations: 16.91 kB / 0.5368 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4308, allocations: 1.375 kB / 0.5368 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.4309, allocations: 17.27 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.4309, allocations: 2.719 kB / 0.5368 GB, free: 8.832 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.0001127/0.431, allocations: 126.8 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.431, allocations: 13.7 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.4311, allocations: 20.16 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4311, allocations: 1 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4311, allocations: 1.062 kB / 0.5369 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4311, allocations: 3.938 kB / 0.5369 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.4316, allocations: 401.4 kB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4316, allocations: 1.438 kB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.4316, allocations: 7.031 kB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4316, allocations: 1.562 kB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4317, allocations: 21.45 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.4317, allocations: 1.531 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4317, allocations: 3.938 kB / 0.5374 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.4319, allocations: 197.6 kB / 0.5375 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.432, allocations: 88.39 kB / 0.5376 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.432, allocations: 8.969 kB / 0.5376 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.4321, allocations: 6.234 kB / 0.5376 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.4321, allocations: 15.02 kB / 0.5377 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4321, allocations: 4.281 kB / 0.5377 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.4323, allocations: 177.2 kB / 0.5378 GB, free: 7.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4323, allocations: 0 / 0.5378 GB, free: 7.859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.4326, allocations: 25.12 kB / 0.5379 GB, free: 7.852 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.001155/0.4337, allocations: 467.1 kB / 0.5383 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.4339, allocations: 54.98 kB / 0.5384 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4339, allocations: 0 / 0.5384 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.451e-05/0.434, allocations: 33.08 kB / 0.5384 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.4344, allocations: 31.88 kB / 0.5384 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.4349, allocations: 266.3 kB / 0.5387 GB, free: 7.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.4352, allocations: 0.7096 MB / 0.5394 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.422e-05/0.4353, allocations: 18.48 kB / 0.5394 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.4353, allocations: 19.73 kB / 0.5394 GB, free: 6.633 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4353, allocations: 7.938 kB / 0.5394 GB, free: 6.625 MB / 398.1 MB Notification: Performance of Templates: time 0.004906/0.4402, allocations: 1.753 MB / 0.5411 GB, free: 5.742 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches