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.0009754/0.0009754, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.0009278/0.0009278, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.242/1.242, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.1917/0.1917, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3111, allocations: 60.83 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001404/0.3126, allocations: 0.495 MB / 0.5194 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002673/0.3129, allocations: 103.2 kB / 0.5195 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.802e-05/0.3129, allocations: 5.438 kB / 0.5195 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.3129, allocations: 0 / 0.5195 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.3131, allocations: 15.8 kB / 0.5195 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.666e-05/0.3132, allocations: 5.938 kB / 0.5195 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.01e-05/0.3132, allocations: 3.453 kB / 0.5195 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.3132, allocations: 2.219 kB / 0.5195 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.417e-05/0.3133, allocations: 1.531 kB / 0.5195 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.057e-05/0.3133, allocations: 16.41 kB / 0.5195 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.3133, allocations: 0 / 0.5195 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.616e-05/0.3134, allocations: 24 kB / 0.5195 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-06/0.3134, allocations: 4.703 kB / 0.5195 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.394e-05/0.3134, allocations: 1.406 kB / 0.5195 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.624e-05/0.3135, allocations: 19.66 kB / 0.5196 GB, free: 3.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3135, allocations: 0 / 0.5196 GB, free: 3.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3135, allocations: 1.031 kB / 0.5196 GB, free: 3.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.3136, allocations: 0 / 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.0002367/0.3138, allocations: 316.3 kB / 0.5199 GB, free: 2.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.3138, allocations: 9.156 kB / 0.5199 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.3139, allocations: 2.719 kB / 0.5199 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.984e-05/0.3139, allocations: 170.8 kB / 0.52 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3139, allocations: 5.406 kB / 0.52 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.314, allocations: 5.484 kB / 0.5201 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.772e-05/0.3141, allocations: 33.11 kB / 0.5201 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3141, allocations: 4.141 kB / 0.5201 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.3141, allocations: 4.875 kB / 0.5201 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3141, allocations: 0 / 0.5201 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.3141, allocations: 10.94 kB / 0.5201 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.944e-05/0.3142, allocations: 151.8 kB / 0.5202 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.3144, allocations: 43.41 kB / 0.5203 GB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.3144, allocations: 15.03 kB / 0.5203 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002942/0.3147, allocations: 112.2 kB / 0.5204 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.107e-05/0.3147, allocations: 31.81 kB / 0.5204 GB, free: 2.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3147, allocations: 4 kB / 0.5204 GB, free: 2.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001098/0.3159, allocations: 184.9 kB / 0.5206 GB, free: 2.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.3159, allocations: 52.53 kB / 0.5207 GB, free: 2.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.58e-05/0.3159, allocations: 96.77 kB / 0.5208 GB, free: 1.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.607e-06/0.3159, allocations: 26.61 kB / 0.5208 GB, free: 1.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.797e-06/0.316, allocations: 80.14 kB / 0.5209 GB, free: 1.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.316, allocations: 18.98 kB / 0.5209 GB, free: 1.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.316, allocations: 20.34 kB / 0.5209 GB, free: 1.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.83e-05/0.3161, allocations: 312.7 kB / 0.5212 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.3161, allocations: 24.25 kB / 0.5212 GB, free: 1.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.72e-05/0.3162, allocations: 16.08 kB / 0.5212 GB, free: 1.516 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.3164, allocations: 55.53 kB / 0.5213 GB, free: 1.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3164, allocations: 0 / 0.5213 GB, free: 1.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001758/0.3165, allocations: 74.73 kB / 0.5214 GB, free: 1.449 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3166, allocations: 8.969 kB / 0.5214 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3166, allocations: 0.7969 kB / 0.5214 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3166, allocations: 0.9062 kB / 0.5214 GB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.3167, allocations: 17.86 kB / 0.5214 GB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3167, allocations: 5 kB / 0.5214 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.674e-05/0.3168, allocations: 6.844 kB / 0.5214 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.3168, allocations: 1.531 kB / 0.5214 GB, free: 1.438 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.94e-05/0.3169, allocations: 112.6 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.3169, allocations: 9.094 kB / 0.5215 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.3171, allocations: 92.95 kB / 0.5216 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3172, allocations: 1.703 kB / 0.5216 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3172, allocations: 0 / 0.5216 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3172, allocations: 1.891 kB / 0.5216 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.3178, allocations: 354 kB / 0.522 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3178, allocations: 5.156 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.761e-05/0.3179, allocations: 14.02 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3179, allocations: 1.797 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3179, allocations: 5.938 kB / 0.522 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3179, allocations: 1.156 kB / 0.522 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3179, allocations: 336 / 0.522 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.3181, allocations: 182.5 kB / 0.5222 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.3181, allocations: 83.12 kB / 0.5222 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.3181, allocations: 5 kB / 0.5222 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.324e-05/0.3182, allocations: 6.547 kB / 0.5222 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.3183, allocations: 3.75 kB / 0.5222 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.3183, allocations: 2.969 kB / 0.5222 GB, free: 0.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.467e-05/0.3183, allocations: 76.38 kB / 0.5223 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3183, allocations: 0 / 0.5223 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000219/0.3185, allocations: 15.34 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.0001032/0.3186, allocations: 105.7 kB / 0.5224 GB, free: 500 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.3188, allocations: 50.16 kB / 0.5225 GB, free: 488 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3189, allocations: 0 / 0.5225 GB, free: 488 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-05/0.3189, allocations: 25.22 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.0002011/0.3192, allocations: 3.047 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.3195, allocations: 139.3 kB / 0.5226 GB, free: 356 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.3197, allocations: 0.6799 MB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.945e-05/0.3197, allocations: 9.609 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.3198, allocations: 10.53 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3198, allocations: 0 / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of Templates: time 0.002596/0.3224, allocations: 0.6545 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