Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, 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 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 184.2 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.199/0.199, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.91 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3161, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.00145/0.3176, allocations: 0.5048 MB / 0.5194 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002661/0.3179, allocations: 103.4 kB / 0.5195 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.557e-05/0.3179, allocations: 1.375 kB / 0.5195 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.3179, allocations: 0 / 0.5195 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.3181, allocations: 20.2 kB / 0.5195 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.624e-05/0.3181, allocations: 1.094 kB / 0.5195 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.191e-05/0.3182, allocations: 3.984 kB / 0.5195 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.302e-05/0.3182, allocations: 7.031 kB / 0.5195 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.532e-05/0.3183, allocations: 1.281 kB / 0.5195 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.066e-05/0.3183, allocations: 14.61 kB / 0.5195 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.3183, allocations: 1.156 kB / 0.5195 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.449e-05/0.3184, allocations: 19.61 kB / 0.5195 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.3184, allocations: 0.6562 kB / 0.5195 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.3185, allocations: 5.266 kB / 0.5195 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.077e-05/0.3186, allocations: 19.97 kB / 0.5196 GB, free: 3.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3186, allocations: 1.125 kB / 0.5196 GB, free: 3.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3186, allocations: 0.5156 kB / 0.5196 GB, free: 3.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.3186, allocations: 3.938 kB / 0.5196 GB, free: 3.184 MB / 382.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.0002587/0.3189, allocations: 324.4 kB / 0.5199 GB, free: 2.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3189, allocations: 9.938 kB / 0.5199 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.3189, allocations: 2.188 kB / 0.5199 GB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.409e-05/0.319, allocations: 161.3 kB / 0.52 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.319, allocations: 1.812 kB / 0.52 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.3191, allocations: 1.656 kB / 0.52 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.3192, allocations: 32.86 kB / 0.5201 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3192, allocations: 1.031 kB / 0.5201 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3192, allocations: 9.156 kB / 0.5201 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3192, allocations: 0 / 0.5201 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.766e-05/0.3193, allocations: 14.17 kB / 0.5201 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.3194, allocations: 151.5 kB / 0.5202 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.3196, allocations: 34.92 kB / 0.5203 GB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.3196, allocations: 10.8 kB / 0.5203 GB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003281/0.32, allocations: 116.6 kB / 0.5204 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.32, allocations: 32.98 kB / 0.5204 GB, free: 2.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.32, allocations: 0 / 0.5204 GB, free: 2.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001263/0.3213, allocations: 192.4 kB / 0.5206 GB, free: 2.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.3213, allocations: 53.2 kB / 0.5207 GB, free: 2.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.847e-05/0.3213, allocations: 95.75 kB / 0.5208 GB, free: 1.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.3214, allocations: 25.7 kB / 0.5208 GB, free: 1.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.275e-05/0.3214, allocations: 84.66 kB / 0.5209 GB, free: 1.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.3214, allocations: 11.38 kB / 0.5209 GB, free: 1.867 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.3214, allocations: 20.3 kB / 0.5209 GB, free: 1.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.16e-05/0.3215, allocations: 312.1 kB / 0.5212 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-05/0.3216, allocations: 24.39 kB / 0.5212 GB, free: 1.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/0.3217, allocations: 23.66 kB / 0.5212 GB, free: 1.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.3218, allocations: 49.08 kB / 0.5213 GB, free: 1.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3218, allocations: 0 / 0.5213 GB, free: 1.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000196/0.322, allocations: 73.22 kB / 0.5214 GB, free: 1.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3221, allocations: 10.52 kB / 0.5214 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3221, allocations: 4 kB / 0.5214 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3221, allocations: 5.031 kB / 0.5214 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3222, allocations: 13.78 kB / 0.5214 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3222, allocations: 0.7969 kB / 0.5214 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-05/0.3223, allocations: 7.062 kB / 0.5214 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3224, allocations: 0.9375 kB / 0.5214 GB, free: 1.449 MB / 382.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 4.81e-05/0.3224, allocations: 113.2 kB / 0.5215 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.3224, allocations: 9.156 kB / 0.5215 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.3227, allocations: 89.92 kB / 0.5216 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3227, allocations: 5.172 kB / 0.5216 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3227, allocations: 3.938 kB / 0.5216 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3227, allocations: 4.688 kB / 0.5216 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.3233, allocations: 359.2 kB / 0.522 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.3234, allocations: 0.9062 kB / 0.522 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.3235, allocations: 18.44 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3235, allocations: 1.859 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.3235, allocations: 0 / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3235, allocations: 2.203 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3235, allocations: 5.438 kB / 0.522 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002059/0.3237, allocations: 180.8 kB / 0.5222 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.3238, allocations: 79.14 kB / 0.5222 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3238, allocations: 1.953 kB / 0.5222 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3239, allocations: 6.547 kB / 0.5222 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.437e-05/0.3239, allocations: 7.688 kB / 0.5222 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.3239, allocations: 2.047 kB / 0.5222 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.398e-05/0.3239, allocations: 80.5 kB / 0.5223 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3239, allocations: 0 / 0.5223 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.3242, allocations: 19.09 kB / 0.5223 GB, free: 0.5859 MB / 382.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.0001051/0.3243, allocations: 96.16 kB / 0.5224 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002265/0.3245, allocations: 54.3 kB / 0.5225 GB, free: 492 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3245, allocations: 1.188 kB / 0.5225 GB, free: 492 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.901e-05/0.3246, allocations: 29.33 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.3249, allocations: 9.047 kB / 0.5225 GB, free: 480 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.3253, allocations: 127.8 kB / 0.5226 GB, free: 364 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/0.3255, allocations: 0.6792 MB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.666e-05/0.3255, allocations: 9.062 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.3256, allocations: 11.33 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3256, allocations: 0 / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of Templates: time 0.00283/0.3284, allocations: 0.6605 MB / 0.524 GB, free: 15.57 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches