Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001143/0.001143, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 247.6 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.239/0.239, allocations: 46.09 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 75.88 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3796, allocations: 62.44 MB / 0.5316 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.002018/0.3817, allocations: 0.496 MB / 0.5321 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003797/0.3821, allocations: 104.6 kB / 0.5322 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.3821, allocations: 0 / 0.5322 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.3821, allocations: 1.969 kB / 0.5322 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.3824, allocations: 11.55 kB / 0.5322 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.184e-05/0.3825, allocations: 1.625 kB / 0.5322 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.485e-05/0.3825, allocations: 15.14 kB / 0.5322 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.3826, allocations: 0 / 0.5322 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.426e-05/0.3826, allocations: 6.219 kB / 0.5323 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.3827, allocations: 9.109 kB / 0.5323 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.3827, allocations: 1.125 kB / 0.5323 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-05/0.3828, allocations: 22.03 kB / 0.5323 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.3828, allocations: 0 / 0.5323 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.3829, allocations: 5.344 kB / 0.5323 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.524e-05/0.383, allocations: 15.55 kB / 0.5323 GB, free: 13.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.383, allocations: 0 / 0.5323 GB, free: 13.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.383, allocations: 0 / 0.5323 GB, free: 13.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.898e-06/0.383, allocations: 0 / 0.5323 GB, free: 13.08 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003628/0.3834, allocations: 325.4 kB / 0.5326 GB, free: 12.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3834, allocations: 9.188 kB / 0.5326 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.3835, allocations: 2.5 kB / 0.5326 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3836, allocations: 160.4 kB / 0.5328 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.3836, allocations: 1.906 kB / 0.5328 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.3837, allocations: 5.688 kB / 0.5328 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.3838, allocations: 41.52 kB / 0.5328 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3838, allocations: 1.406 kB / 0.5328 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3838, allocations: 3.938 kB / 0.5328 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3838, allocations: 5.281 kB / 0.5328 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.582e-05/0.3839, allocations: 4.094 kB / 0.5328 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.3841, allocations: 156.2 kB / 0.533 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.3843, allocations: 40.27 kB / 0.533 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.3843, allocations: 10.55 kB / 0.533 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.3847, allocations: 121.6 kB / 0.5332 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.3847, allocations: 36.03 kB / 0.5332 GB, free: 12.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.3847, allocations: 0 / 0.5332 GB, free: 12.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001388/0.3861, allocations: 187.6 kB / 0.5334 GB, free: 11.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.3862, allocations: 53.66 kB / 0.5334 GB, free: 11.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.872e-05/0.3863, allocations: 97.8 kB / 0.5335 GB, free: 11.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3863, allocations: 27.92 kB / 0.5335 GB, free: 11.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.3863, allocations: 80.14 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.3864, allocations: 13.39 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.3864, allocations: 17.91 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3866, allocations: 320.3 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.26e-05/0.3867, allocations: 18.23 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.729e-05/0.3868, allocations: 19.23 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.387, allocations: 49.86 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.387, allocations: 0 / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002156/0.3872, allocations: 83.62 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3873, allocations: 10.69 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3873, allocations: 1.375 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3873, allocations: 0 / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3874, allocations: 14.98 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3875, allocations: 0 / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-05/0.3875, allocations: 8.125 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.3876, allocations: 5.359 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.156e-05/0.3877, allocations: 107.2 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.3877, allocations: 9.312 kB / 0.5343 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.3879, allocations: 90.02 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.388, allocations: 1.375 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.388, allocations: 0 / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.388, allocations: 1.375 kB / 0.5344 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007359/0.3887, allocations: 356.8 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.3887, allocations: 1.375 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.651e-05/0.3888, allocations: 13.61 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3888, allocations: 1.375 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3889, allocations: 1.375 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3889, allocations: 3.984 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3889, allocations: 1.375 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.3891, allocations: 189.6 kB / 0.5349 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.3892, allocations: 86.38 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.3892, allocations: 1.375 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3893, allocations: 8.062 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.3893, allocations: 10.67 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.3893, allocations: 5.375 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.499e-05/0.3894, allocations: 80.66 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3894, allocations: 0 / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.3896, allocations: 12.7 kB / 0.5351 GB, free: 10.28 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001423/0.3898, allocations: 95.75 kB / 0.5352 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.39, allocations: 55.33 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.39, allocations: 4.094 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.699e-05/0.3901, allocations: 28.47 kB / 0.5353 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.3903, allocations: 5.375 kB / 0.5353 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.3908, allocations: 153.8 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.391, allocations: 0.673 MB / 0.5361 GB, free: 9.289 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.3911, allocations: 15.55 kB / 0.5361 GB, free: 9.277 MB / 398.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3911, allocations: 4.062 kB / 0.5361 GB, free: 9.273 MB / 398.1 MB Notification: Performance of Templates: time 0.002324/0.3934, allocations: 0.6682 MB / 0.5367 GB, free: 8.938 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches