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.001592/0.001592, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002/0.002001, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2072/0.2072, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 75.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.309, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001507/0.3105, allocations: 498.6 kB / 0.5314 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003472/0.3109, allocations: 109 kB / 0.5316 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.3109, allocations: 0 / 0.5316 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.311, allocations: 0 / 0.5316 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.3112, allocations: 20.09 kB / 0.5316 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.844e-05/0.3112, allocations: 1.312 kB / 0.5316 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.788e-05/0.3113, allocations: 3.406 kB / 0.5316 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.564e-05/0.3114, allocations: 5.047 kB / 0.5316 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.646e-05/0.3114, allocations: 1.594 kB / 0.5316 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.999e-05/0.3114, allocations: 9.406 kB / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.3115, allocations: 1.375 kB / 0.5316 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.39e-05/0.3116, allocations: 21.23 kB / 0.5316 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.3116, allocations: 9.109 kB / 0.5316 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.666e-05/0.3116, allocations: 1.094 kB / 0.5316 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.21e-05/0.3117, allocations: 22.12 kB / 0.5316 GB, free: 13.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3117, allocations: 1.281 kB / 0.5316 GB, free: 13.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3117, allocations: 0 / 0.5316 GB, free: 13.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3117, 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.0003343/0.3121, allocations: 316.7 kB / 0.5319 GB, free: 12.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3121, allocations: 9.469 kB / 0.532 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.3121, allocations: 6.094 kB / 0.532 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3123, allocations: 165.6 kB / 0.5321 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.3123, allocations: 384 / 0.5321 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.3123, allocations: 1.656 kB / 0.5321 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.3124, allocations: 39.33 kB / 0.5322 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3124, allocations: 192 / 0.5322 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.3124, allocations: 3.938 kB / 0.5322 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3125, allocations: 1.25 kB / 0.5322 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.051e-05/0.3125, allocations: 12.62 kB / 0.5322 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.3127, allocations: 156 kB / 0.5323 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.3129, allocations: 32.92 kB / 0.5324 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.3129, allocations: 13.36 kB / 0.5324 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003437/0.3133, allocations: 114 kB / 0.5325 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3133, allocations: 39.94 kB / 0.5325 GB, free: 12.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3133, allocations: 0 / 0.5325 GB, free: 12.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001216/0.3145, allocations: 188.8 kB / 0.5327 GB, free: 12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.3146, allocations: 51.41 kB / 0.5327 GB, free: 11.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.214e-05/0.3146, allocations: 95.23 kB / 0.5328 GB, free: 11.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.3147, allocations: 27.14 kB / 0.5329 GB, free: 11.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.3147, allocations: 88.02 kB / 0.5329 GB, free: 11.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.3147, allocations: 21.75 kB / 0.533 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.3148, allocations: 18.72 kB / 0.533 GB, free: 11.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3149, allocations: 310.8 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.315, allocations: 19.05 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.3151, allocations: 23.34 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.3153, allocations: 48.67 kB / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3153, allocations: 0 / 0.5334 GB, free: 11.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002159/0.3155, allocations: 74.52 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3155, allocations: 12.5 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.3155, allocations: 0 / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.3156, allocations: 3.984 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3157, allocations: 22.58 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3157, allocations: 1.281 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.029e-05/0.3158, allocations: 8.094 kB / 0.5335 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3158, allocations: 1.219 kB / 0.5335 GB, free: 11.24 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.185e-05/0.3159, allocations: 115.1 kB / 0.5336 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.3159, allocations: 5 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.3162, allocations: 87.41 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3162, allocations: 0 / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3162, allocations: 1.281 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3162, allocations: 3.984 kB / 0.5337 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006649/0.3169, allocations: 353.4 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3169, allocations: 0 / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-05/0.317, allocations: 18.73 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.317, allocations: 1.781 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.317, allocations: 4 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.317, allocations: 1.812 kB / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.317, allocations: 0 / 0.5341 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.3173, allocations: 178.1 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.3173, allocations: 86.72 kB / 0.5343 GB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3174, allocations: 5.359 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.882e-05/0.3175, allocations: 4.125 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.3175, allocations: 1.375 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.3175, allocations: 6.734 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.834e-05/0.3176, allocations: 84.53 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3176, allocations: 8.031 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.3178, allocations: 12.7 kB / 0.5344 GB, free: 10.32 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.0001311/0.318, allocations: 102.4 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.3182, allocations: 48.77 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3182, allocations: 0 / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.036e-05/0.3183, allocations: 28.42 kB / 0.5346 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.3185, allocations: 13.44 kB / 0.5346 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.3189, allocations: 124.1 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.3192, allocations: 0.673 MB / 0.5354 GB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.95e-05/0.3193, allocations: 12.38 kB / 0.5354 GB, free: 9.352 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.3193, allocations: 12.8 kB / 0.5354 GB, free: 9.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3193, allocations: 1.375 kB / 0.5354 GB, free: 9.34 MB / 398.1 MB Notification: Performance of Templates: time 0.002649/0.322, allocations: 0.6638 MB / 0.5361 GB, free: 8.988 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