Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008869/0.0008869, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.157/1.157, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007325/0.0007325, allocations: 98.34 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2804/0.2804, allocations: 43.56 MB / 363.1 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.0004863, allocations: 16 kB / 432 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0887/0.08921, allocations: 58.86 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003129/0.09238, allocations: 2.87 MB / 493.7 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.09487, allocations: 1.509 MB / 495.2 MB, free: 6.488 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003772/0.09528, allocations: 19.88 kB / 495.2 MB, free: 6.469 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.09571, allocations: 107.2 kB / 495.3 MB, free: 6.363 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004552/0.09618, allocations: 155 kB / 495.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009975/0.09719, allocations: 427.3 kB / 495.9 MB, free: 5.793 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009193/0.09812, allocations: 0.8338 MB / 496.7 MB, free: 4.957 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/0.0985, allocations: 230.3 kB / 497 MB, free: 4.719 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004236/0.09893, allocations: 298.6 kB / 497.2 MB, free: 4.426 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.09937, allocations: 330.3 kB / 497.6 MB, free: 4.102 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.516e-05/0.09947, allocations: 20 kB / 497.6 MB, free: 4.082 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.0997, allocations: 123.8 kB / 497.7 MB, free: 3.961 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.09987, allocations: 151.3 kB / 497.9 MB, free: 3.812 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.1002, allocations: 299.8 kB / 498.1 MB, free: 3.512 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005661/0.1007, allocations: 0.6236 MB / 498.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1007, allocations: 0 / 498.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1007, allocations: 0 / 498.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.988e-05/0.1008, allocations: 0 / 498.8 MB, free: 2.887 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002036/0.1028, allocations: 1.067 MB / 499.8 MB, free: 1.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1029, allocations: 8.031 kB / 499.8 MB, free: 1.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.103, allocations: 91.81 kB / 499.9 MB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008375/0.1039, allocations: 0.5623 MB / 0.4888 GB, free: 1.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.1039, allocations: 45.36 kB / 0.4888 GB, free: 1.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.626e-05/0.104, allocations: 56.38 kB / 0.4889 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.1051, allocations: 0.6255 MB / 0.4895 GB, free: 292 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.1051, allocations: 15.84 kB / 0.4895 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.1052, allocations: 16 kB / 0.4895 GB, free: 260 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.1052, allocations: 12 kB / 0.4895 GB, free: 248 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1495/0.2546, allocations: 497.8 kB / 0.49 GB, free: 42.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003577/0.2582, allocations: 2.668 MB / 0.4926 GB, free: 41.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.2593, allocations: 0.5481 MB / 0.4931 GB, free: 41.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005554/0.2599, allocations: 279.5 kB / 0.4934 GB, free: 41.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.2599, allocations: 9.609 kB / 0.4934 GB, free: 41.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.26, allocations: 43.64 kB / 0.4935 GB, free: 41.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 2.675e-06/0.26, allocations: 0 / 0.4935 GB, free: 41.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.002436/0.2624, allocations: 1.219 MB / 0.4946 GB, free: 41.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2625, allocations: 138.2 kB / 0.4948 GB, free: 40.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008688/0.2634, allocations: 0.6488 MB / 0.4954 GB, free: 40.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.2634, allocations: 38.08 kB / 0.4954 GB, free: 40.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.2636, allocations: 360.1 kB / 0.4958 GB, free: 40.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.2637, allocations: 179.1 kB / 0.496 GB, free: 40.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.2638, allocations: 12.72 kB / 0.496 GB, free: 40.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.2638, allocations: 329.5 kB / 0.4963 GB, free: 40.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006695/0.2645, allocations: 298.9 kB / 0.4966 GB, free: 40.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/0.2652, allocations: 468.7 kB / 0.497 GB, free: 40.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.2665, allocations: 0.7408 MB / 0.4977 GB, free: 39.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.2665, allocations: 1.375 kB / 0.4977 GB, free: 39.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001654/0.2682, allocations: 0.8738 MB / 0.4986 GB, free: 39.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.83e-05/0.2683, allocations: 219.4 kB / 0.4988 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.2683, allocations: 6.438 kB / 0.4988 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.2683, allocations: 6.875 kB / 0.4988 GB, free: 39.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008453/0.2692, allocations: 215.8 kB / 0.499 GB, free: 39.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.2692, allocations: 8.25 kB / 0.499 GB, free: 39.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.2697, allocations: 93.78 kB / 0.4991 GB, free: 39.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/0.2697, allocations: 27.55 kB / 0.4991 GB, free: 39.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.2698, allocations: 2.969 kB / 0.4991 GB, free: 39.42 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001257/0.271, allocations: 0.7352 MB / 0.4999 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.271, allocations: 5.344 kB / 0.4999 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.2711, allocations: 12.27 kB / 0.4999 GB, free: 39.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000766/0.2718, allocations: 199.3 kB / 0.5001 GB, free: 39.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2718, allocations: 12.75 kB / 0.5001 GB, free: 39.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.2723, allocations: 86.72 kB / 0.5002 GB, free: 39.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.2724, allocations: 21.66 kB / 0.5002 GB, free: 39.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000249/0.2726, allocations: 300.7 kB / 0.5005 GB, free: 38.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.2728, allocations: 77.25 kB / 0.5005 GB, free: 38.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.2729, allocations: 96.58 kB / 0.5006 GB, free: 38.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.2729, allocations: 5.125 kB / 0.5006 GB, free: 38.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.273, allocations: 0 / 0.5006 GB, free: 38.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.273, allocations: 2.688 kB / 0.5006 GB, free: 38.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.2746, allocations: 1.295 MB / 0.5019 GB, free: 38.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2746, allocations: 0 / 0.5019 GB, free: 38.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005984/0.2753, allocations: 120.2 kB / 0.502 GB, free: 38.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.2753, allocations: 2.969 kB / 0.502 GB, free: 38.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.2753, allocations: 16.94 kB / 0.502 GB, free: 38.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.2753, allocations: 3.5 kB / 0.5021 GB, free: 38.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2753, allocations: 0 / 0.5021 GB, free: 38.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.2771, allocations: 1.242 MB / 0.5033 GB, free: 37.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.2773, allocations: 193.8 kB / 0.5034 GB, free: 37.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.544e-05/0.2774, allocations: 18.2 kB / 0.5035 GB, free: 37.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005048/0.2779, allocations: 64.62 kB / 0.5035 GB, free: 37.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.854e-05/0.278, allocations: 41.67 kB / 0.5036 GB, free: 37.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.2781, allocations: 20.25 kB / 0.5036 GB, free: 37.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005222/0.2786, allocations: 457.4 kB / 0.504 GB, free: 37.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.2786, allocations: 0 / 0.504 GB, free: 37.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008246/0.2794, allocations: 222.2 kB / 0.5042 GB, free: 37.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002567/0.2797, allocations: 151.3 kB / 0.5044 GB, free: 36.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001925/0.2816, allocations: 1.048 MB / 0.5054 GB, free: 36.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2817, allocations: 3.125 kB / 0.5054 GB, free: 36.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005541/0.2822, allocations: 311.8 kB / 0.5057 GB, free: 36.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2833, allocations: 174.9 kB / 0.5059 GB, free: 36.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.2854, allocations: 1.784 MB / 0.5076 GB, free: 35.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.2857, allocations: 0.9496 MB / 0.5085 GB, free: 34.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.2859, allocations: 49.94 kB / 0.5086 GB, free: 34.84 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2859, allocations: 0 / 0.5086 GB, free: 34.84 MB / 378.7 MB Notification: Performance of Templates: time 0.009991/0.2959, allocations: 9.05 MB / 0.5174 GB, free: 34.04 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches