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.001303/0.001303, allocations: 117.2 kB / 17.78 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.001315/0.001315, allocations: 203.8 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.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 75.88 kB / 481.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3053, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001501/0.3069, allocations: 0.4932 MB / 0.5315 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002886/0.3072, allocations: 96.67 kB / 0.5315 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.3072, allocations: 0 / 0.5315 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.3072, allocations: 3.938 kB / 0.5316 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.3074, allocations: 13.08 kB / 0.5316 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.792e-05/0.3075, allocations: 5.812 kB / 0.5316 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.335e-05/0.3075, allocations: 5.609 kB / 0.5316 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.3076, allocations: 5.5 kB / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.422e-05/0.3076, allocations: 1.094 kB / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.968e-05/0.3076, allocations: 6.031 kB / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.3076, allocations: 0 / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.54e-05/0.3077, allocations: 27.25 kB / 0.5316 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.3078, allocations: 3.984 kB / 0.5316 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.509e-05/0.3078, allocations: 5.531 kB / 0.5316 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.532e-05/0.3079, allocations: 13.98 kB / 0.5316 GB, free: 13.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3079, allocations: 1.438 kB / 0.5316 GB, free: 13.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3079, allocations: 0 / 0.5316 GB, free: 13.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3079, allocations: 0 / 0.5316 GB, free: 13.11 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.0002878/0.3082, allocations: 325.5 kB / 0.5319 GB, free: 12.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.3082, allocations: 9.344 kB / 0.532 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.3083, allocations: 4.938 kB / 0.532 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.3084, allocations: 165.9 kB / 0.5321 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.3084, allocations: 384 / 0.5321 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.3084, allocations: 1.781 kB / 0.5321 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.723e-05/0.3085, allocations: 42.7 kB / 0.5322 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3085, allocations: 192 / 0.5322 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3086, allocations: 5.219 kB / 0.5322 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.3086, allocations: 4 kB / 0.5322 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.698e-05/0.3086, allocations: 9.297 kB / 0.5322 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.3088, allocations: 148.2 kB / 0.5323 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.309, allocations: 40.64 kB / 0.5324 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.309, allocations: 12.98 kB / 0.5324 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003537/0.3094, allocations: 119.3 kB / 0.5325 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3094, allocations: 30.56 kB / 0.5325 GB, free: 12.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.3094, allocations: 0 / 0.5325 GB, free: 12.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001302/0.3107, allocations: 193.2 kB / 0.5327 GB, free: 11.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.3108, allocations: 51.41 kB / 0.5327 GB, free: 11.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.3108, allocations: 96.03 kB / 0.5328 GB, free: 11.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3109, allocations: 29.64 kB / 0.5329 GB, free: 11.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.3109, allocations: 80.14 kB / 0.5329 GB, free: 11.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.3109, allocations: 19.3 kB / 0.533 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.311, allocations: 12.44 kB / 0.533 GB, free: 11.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3111, allocations: 324.3 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.3112, allocations: 15.48 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.611e-05/0.3113, allocations: 20.08 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.3114, allocations: 48.64 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3114, allocations: 0 / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002041/0.3116, allocations: 81.34 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3117, allocations: 13.44 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3117, allocations: 0 / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3117, allocations: 1.375 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3118, allocations: 13.61 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.3118, allocations: 5.359 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.859e-05/0.3119, allocations: 6.734 kB / 0.5335 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.3119, allocations: 1.375 kB / 0.5335 GB, free: 11.23 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 7.482e-05/0.312, allocations: 120.5 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.3121, allocations: 9.562 kB / 0.5336 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.3123, allocations: 90.08 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3123, allocations: 1.375 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3123, allocations: 0 / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3123, allocations: 0 / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006779/0.313, allocations: 354.2 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.313, allocations: 0 / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/0.3131, allocations: 14.98 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3132, allocations: 0 / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3132, allocations: 5.359 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3132, allocations: 1.375 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3132, allocations: 0 / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.3134, allocations: 186.9 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.3135, allocations: 82.39 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.3135, allocations: 1.375 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3136, allocations: 12.11 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.3136, allocations: 5.359 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.3136, allocations: 9.312 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.717e-05/0.3137, allocations: 76.66 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3137, allocations: 0 / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.3139, allocations: 14.08 kB / 0.5344 GB, free: 10.31 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.0001667/0.3141, allocations: 98.36 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.3144, allocations: 52.72 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3144, allocations: 4.094 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.829e-05/0.3145, allocations: 27.09 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.3147, allocations: 6.75 kB / 0.5346 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.3151, allocations: 126.3 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.3154, allocations: 0.6818 MB / 0.5354 GB, free: 9.344 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.626e-05/0.3155, allocations: 6.562 kB / 0.5354 GB, free: 9.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.3155, allocations: 10.38 kB / 0.5354 GB, free: 9.332 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3155, allocations: 0 / 0.5354 GB, free: 9.332 MB / 398.1 MB Notification: Performance of Templates: time 0.002787/0.3183, allocations: 0.6617 MB / 0.5361 GB, free: 8.984 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