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.001057/0.001057, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2164/0.2164, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 71.89 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3159, allocations: 62.44 MB / 0.5316 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001479/0.3174, allocations: 0.4966 MB / 0.5321 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002936/0.3177, allocations: 106.9 kB / 0.5322 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.056e-05/0.3178, allocations: 0 / 0.5322 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.401e-05/0.3178, allocations: 0 / 0.5322 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.318, allocations: 14.61 kB / 0.5322 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.984e-05/0.318, allocations: 5.062 kB / 0.5322 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.652e-05/0.3181, allocations: 3.906 kB / 0.5322 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.3181, allocations: 5.672 kB / 0.5323 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.463e-05/0.3181, allocations: 4 kB / 0.5323 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.141e-05/0.3182, allocations: 9.531 kB / 0.5323 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.3182, allocations: 1.625 kB / 0.5323 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.593e-05/0.3183, allocations: 17.73 kB / 0.5323 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.3183, allocations: 5.953 kB / 0.5323 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.584e-05/0.3183, allocations: 3.984 kB / 0.5323 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.24e-05/0.3184, allocations: 20.23 kB / 0.5323 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3184, allocations: 0 / 0.5323 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3184, allocations: 0 / 0.5323 GB, free: 13.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3185, allocations: 0 / 0.5323 GB, free: 13.09 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.0003163/0.3188, allocations: 322.1 kB / 0.5326 GB, free: 12.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.3188, allocations: 10.19 kB / 0.5326 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.3188, allocations: 0.9375 kB / 0.5326 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.319, allocations: 172.3 kB / 0.5328 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.319, allocations: 384 / 0.5328 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.319, allocations: 4 kB / 0.5328 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.032e-05/0.3191, allocations: 32.38 kB / 0.5328 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3191, allocations: 192 / 0.5328 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.3191, allocations: 3.938 kB / 0.5328 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3191, allocations: 7.594 kB / 0.5328 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.006e-05/0.3192, allocations: 11.5 kB / 0.5329 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.3193, allocations: 153.2 kB / 0.533 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.3195, allocations: 36.89 kB / 0.533 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.3196, allocations: 12.7 kB / 0.533 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003368/0.3199, allocations: 115.8 kB / 0.5332 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.3199, allocations: 31.94 kB / 0.5332 GB, free: 12.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3199, allocations: 0 / 0.5332 GB, free: 12.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.00126/0.3212, allocations: 192.3 kB / 0.5334 GB, free: 11.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.3213, allocations: 52.38 kB / 0.5334 GB, free: 11.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.353e-05/0.3213, allocations: 91.64 kB / 0.5335 GB, free: 11.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.3213, allocations: 25.7 kB / 0.5335 GB, free: 11.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.3214, allocations: 89.03 kB / 0.5336 GB, free: 11.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.3214, allocations: 17.33 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.884e-05/0.3215, allocations: 18.28 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.3216, allocations: 316.1 kB / 0.534 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.574e-05/0.3217, allocations: 23.31 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.3217, allocations: 19.27 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3219, allocations: 52.17 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3219, allocations: 0 / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002022/0.3221, allocations: 74.77 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3221, allocations: 17.2 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3222, allocations: 0 / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.3222, allocations: 0.6562 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.3223, allocations: 14.33 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3223, allocations: 0.8438 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-05/0.3224, allocations: 3.906 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3224, allocations: 1.312 kB / 0.5341 GB, free: 11.22 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 6.804e-05/0.3225, allocations: 115.3 kB / 0.5343 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.3225, allocations: 9.219 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.3228, allocations: 86.31 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3228, allocations: 1.062 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3228, allocations: 5.078 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3228, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.3235, allocations: 353.3 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3236, allocations: 1.188 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.3237, allocations: 17.7 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3237, allocations: 0.9375 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.3237, allocations: 1.188 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3237, allocations: 5.375 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3237, allocations: 1.266 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.324, allocations: 185.8 kB / 0.5349 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.324, allocations: 90.69 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.3241, allocations: 5.438 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3242, allocations: 3.031 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.3242, allocations: 6.672 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3242, allocations: 5.438 kB / 0.535 GB, free: 10.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.3242, allocations: 80.53 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3242, allocations: 0 / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.3245, allocations: 17.39 kB / 0.5351 GB, free: 10.29 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.0001304/0.3246, allocations: 95.47 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.3249, allocations: 52.05 kB / 0.5352 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3249, allocations: 4.094 kB / 0.5352 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.056e-05/0.325, allocations: 22.73 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.3252, allocations: 14.97 kB / 0.5353 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.3256, allocations: 151.5 kB / 0.5354 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.3259, allocations: 0.674 MB / 0.5361 GB, free: 9.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.3259, allocations: 19.17 kB / 0.5361 GB, free: 9.281 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3259, allocations: 0 / 0.5361 GB, free: 9.281 MB / 398.1 MB Notification: Performance of Templates: time 0.001907/0.3278, allocations: 0.6646 MB / 0.5367 GB, free: 8.949 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