Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001548/0.001548, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002076/0.002076, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.9 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.2147/0.2147, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 76.42 kB / 481.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4184, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.006069/0.4245, allocations: 1.747 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.4272, allocations: 1.022 MB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.4273, allocations: 4.969 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005644/0.4279, allocations: 90.03 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.4284, allocations: 124.5 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003197/0.4287, allocations: 75.84 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.429, allocations: 120.1 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.4291, allocations: 16.2 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.4293, allocations: 58.86 kB / 0.5343 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.4294, allocations: 68.73 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.4295, allocations: 8.125 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.4296, allocations: 58.48 kB / 0.5344 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.4297, allocations: 33.42 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.858e-05/0.4298, allocations: 41.34 kB / 0.5345 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.4301, allocations: 138.3 kB / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4301, allocations: 0 / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4301, allocations: 1.375 kB / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.83e-05/0.4301, allocations: 0 / 0.5346 GB, free: 10.94 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006269/0.4307, allocations: 444.3 kB / 0.535 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4308, allocations: 12.25 kB / 0.535 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.4309, allocations: 11.72 kB / 0.535 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.4312, allocations: 219.5 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.4312, allocations: 9.734 kB / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.4312, allocations: 6.875 kB / 0.5353 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.4314, allocations: 56.8 kB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4314, allocations: 1.375 kB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4314, allocations: 0 / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4314, allocations: 1.375 kB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.4316, allocations: 32.8 kB / 0.5354 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.432, allocations: 304.6 kB / 0.5356 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.4323, allocations: 62.2 kB / 0.5357 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.4324, allocations: 21.97 kB / 0.5357 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.4324, allocations: 4.969 kB / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.4326, allocations: 70.89 kB / 0.5358 GB, free: 9.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.4326, allocations: 0 / 0.5358 GB, free: 9.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008443/0.4334, allocations: 254.9 kB / 0.536 GB, free: 9.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.4335, allocations: 60.81 kB / 0.5361 GB, free: 9.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.4338, allocations: 231.7 kB / 0.5363 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.4338, allocations: 32.02 kB / 0.5363 GB, free: 9.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.4339, allocations: 109.7 kB / 0.5365 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/0.434, allocations: 37.08 kB / 0.5365 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.434, allocations: 22.78 kB / 0.5365 GB, free: 9.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4342, allocations: 331.4 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.861e-05/0.4343, allocations: 26.95 kB / 0.5368 GB, free: 8.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.996e-05/0.4344, allocations: 50.98 kB / 0.5369 GB, free: 8.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.4346, allocations: 84.28 kB / 0.537 GB, free: 8.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4346, allocations: 1.125 kB / 0.537 GB, free: 8.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000372/0.435, allocations: 130.2 kB / 0.5371 GB, free: 8.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.4351, allocations: 4.938 kB / 0.5371 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.4351, allocations: 5.078 kB / 0.5371 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/0.4351, allocations: 1.094 kB / 0.5371 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.4353, allocations: 21.11 kB / 0.5371 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.4353, allocations: 5.188 kB / 0.5371 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.4354, allocations: 2.312 kB / 0.5371 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.4354, allocations: 19.36 kB / 0.5372 GB, free: 8.625 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 (13): * Single equations (assignments): 13 * 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.0001972/0.4356, allocations: 130.5 kB / 0.5373 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.4357, allocations: 14.94 kB / 0.5373 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.614e-05/0.4358, allocations: 19.73 kB / 0.5373 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4358, allocations: 2.25 kB / 0.5373 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.4358, allocations: 3.938 kB / 0.5373 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4358, allocations: 0 / 0.5373 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008852/0.4367, allocations: 471 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4367, allocations: 1.594 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/0.4368, allocations: 16.17 kB / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.4368, allocations: 0.9375 kB / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.4368, allocations: 6.688 kB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.4369, allocations: 1.188 kB / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4369, allocations: 0 / 0.5378 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.4373, allocations: 239.4 kB / 0.538 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.4374, allocations: 88.89 kB / 0.5381 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.4374, allocations: 2.781 kB / 0.5381 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.4375, allocations: 5.344 kB / 0.5381 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.4376, allocations: 12.61 kB / 0.5381 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.4376, allocations: 4.812 kB / 0.5381 GB, free: 7.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000253/0.4379, allocations: 180.8 kB / 0.5383 GB, free: 7.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4379, allocations: 1.75 kB / 0.5383 GB, free: 7.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004045/0.4383, allocations: 23.78 kB / 0.5383 GB, free: 7.586 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001629/0.44, allocations: 0.5052 MB / 0.5388 GB, free: 7.324 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.4403, allocations: 81.75 kB / 0.5389 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4403, allocations: 1.156 kB / 0.5389 GB, free: 7.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.4404, allocations: 43.36 kB / 0.5389 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.4409, allocations: 37.22 kB / 0.539 GB, free: 7.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008104/0.4417, allocations: 289.6 kB / 0.5393 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.4422, allocations: 0.7114 MB / 0.54 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.179e-05/0.4423, allocations: 21.05 kB / 0.54 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.4424, allocations: 20.84 kB / 0.54 GB, free: 6.305 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4424, allocations: 0 / 0.54 GB, free: 6.305 MB / 398.1 MB Notification: Performance of Templates: time 0.008174/0.4506, allocations: 2.055 MB / 0.542 GB, free: 5.254 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches