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.001495/0.001495, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001861/0.001861, allocations: 198 kB / 18.73 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.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2082/0.2082, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 76.16 kB / 481.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3138, allocations: 62.45 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001399/0.3153, allocations: 0.4884 MB / 0.5315 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.3156, allocations: 104.1 kB / 0.5316 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.3156, allocations: 1.156 kB / 0.5316 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.3156, allocations: 0 / 0.5316 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.3158, allocations: 17.11 kB / 0.5316 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.597e-05/0.3159, allocations: 0 / 0.5316 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.328e-05/0.3159, allocations: 3.781 kB / 0.5316 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.316, allocations: 6.734 kB / 0.5316 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.316, allocations: 0 / 0.5316 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.316, allocations: 17.77 kB / 0.5316 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.316, allocations: 0 / 0.5316 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.662e-05/0.3161, allocations: 22.42 kB / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.317e-06/0.3161, allocations: 3.312 kB / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.751e-05/0.3162, allocations: 3.984 kB / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.66e-05/0.3163, allocations: 17.77 kB / 0.5316 GB, free: 13.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3163, allocations: 0 / 0.5316 GB, free: 13.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3163, allocations: 0 / 0.5316 GB, free: 13.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.3163, allocations: 0 / 0.5316 GB, free: 13.12 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.0003185/0.3166, allocations: 322.1 kB / 0.532 GB, free: 12.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3167, allocations: 8.969 kB / 0.532 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.3167, allocations: 2.625 kB / 0.532 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.709e-05/0.3168, allocations: 168.3 kB / 0.5321 GB, free: 12.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3168, allocations: 6.062 kB / 0.5321 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.3168, allocations: 2 kB / 0.5321 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.028e-05/0.3169, allocations: 37.83 kB / 0.5322 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.317, allocations: 192 / 0.5322 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.317, allocations: 7.875 kB / 0.5322 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.317, allocations: 1.219 kB / 0.5322 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.433e-05/0.317, allocations: 9.156 kB / 0.5322 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.3172, allocations: 152.3 kB / 0.5323 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.3173, allocations: 40.08 kB / 0.5324 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.3174, allocations: 16.17 kB / 0.5324 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000314/0.3177, allocations: 113.3 kB / 0.5325 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.3177, allocations: 38.5 kB / 0.5325 GB, free: 12.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3177, allocations: 0 / 0.5325 GB, free: 12.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001144/0.3189, allocations: 183.6 kB / 0.5327 GB, free: 12.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.3189, allocations: 56.66 kB / 0.5328 GB, free: 11.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.652e-05/0.319, allocations: 99.2 kB / 0.5329 GB, free: 11.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.319, allocations: 25.7 kB / 0.5329 GB, free: 11.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.319, allocations: 81.98 kB / 0.533 GB, free: 11.72 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.3191, allocations: 18.02 kB / 0.533 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.3191, allocations: 17.47 kB / 0.533 GB, free: 11.69 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.3192, allocations: 310.8 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.3193, allocations: 23.34 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.207e-05/0.3194, allocations: 19.14 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.3196, allocations: 48.23 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3196, allocations: 0 / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001909/0.3198, allocations: 71.23 kB / 0.5334 GB, free: 11.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3198, allocations: 17.2 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3198, allocations: 5.344 kB / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.3198, allocations: 0 / 0.5335 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3199, allocations: 18.05 kB / 0.5335 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.32, allocations: 1.344 kB / 0.5335 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.32, allocations: 2.906 kB / 0.5335 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.32, allocations: 1.25 kB / 0.5335 GB, free: 11.26 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.48e-05/0.3201, allocations: 116.5 kB / 0.5336 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.3201, allocations: 9.016 kB / 0.5336 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.3204, allocations: 86 kB / 0.5337 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3204, allocations: 8.734 kB / 0.5337 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3204, allocations: 1.188 kB / 0.5337 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3204, allocations: 0 / 0.5337 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.3211, allocations: 350.1 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3211, allocations: 3.938 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.216e-05/0.3212, allocations: 18.55 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3212, allocations: 1.438 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3212, allocations: 4 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3212, allocations: 1.344 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3212, allocations: 1.375 kB / 0.5341 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.3215, allocations: 177.4 kB / 0.5342 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.3215, allocations: 86.2 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.3215, allocations: 5.188 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.3216, allocations: 4.812 kB / 0.5343 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.3216, allocations: 16.94 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3217, allocations: 2.5 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.398e-05/0.3217, allocations: 76.56 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3217, allocations: 4.094 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.3219, allocations: 12.22 kB / 0.5344 GB, free: 10.33 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.0001142/0.3221, allocations: 98.19 kB / 0.5345 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.3223, allocations: 52.67 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3223, allocations: 0 / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.223e-05/0.3224, allocations: 27.3 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.3226, allocations: 10.09 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.323, allocations: 131 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.3232, allocations: 0.6735 MB / 0.5354 GB, free: 9.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.418e-05/0.3232, allocations: 10.95 kB / 0.5354 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.3233, allocations: 10.56 kB / 0.5354 GB, free: 9.352 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3233, allocations: 0 / 0.5354 GB, free: 9.352 MB / 398.1 MB Notification: Performance of Templates: time 0.002471/0.3258, allocations: 0.6604 MB / 0.5361 GB, free: 9.004 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches