Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009942/0.0009942, allocations: 195.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 226.5 MB / 245.3 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006937/0.0006938, allocations: 87.69 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002097/0.0002097, allocations: 8 kB / 357.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1805, allocations: 51.29 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08395/0.2644, allocations: 80.89 MB / 489.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.2647, allocations: 75.95 kB / 489.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03193/0.2967, allocations: 13.4 MB / 0.4912 GB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2967, allocations: 0 / 0.4912 GB, free: 13.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.404e-05/0.2967, allocations: 23.98 kB / 0.4913 GB, free: 13.14 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001548/0.2983, allocations: 1.053 MB / 0.4923 GB, free: 12.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2983, allocations: 12.03 kB / 0.4923 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.2985, allocations: 103.7 kB / 0.4924 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.299, allocations: 451.1 kB / 0.4928 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.2991, allocations: 74.38 kB / 0.4929 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.2992, allocations: 96.28 kB / 0.493 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.3004, allocations: 0.8602 MB / 0.4938 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.3005, allocations: 4.125 kB / 0.4938 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.853e-05/0.3006, allocations: 47.94 kB / 0.4939 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/0.3006, allocations: 24 kB / 0.4939 GB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009393/0.3015, allocations: 0.5622 MB / 0.4944 GB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/0.3055, allocations: 3.003 MB / 0.4974 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.306, allocations: 310.2 kB / 0.4977 GB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003441/0.3063, allocations: 272.7 kB / 0.4979 GB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.3064, allocations: 4 kB / 0.4979 GB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.3064, allocations: 42.5 kB / 0.498 GB, free: 6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.785e-06/0.3064, allocations: 0 / 0.498 GB, free: 6 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001405/0.3078, allocations: 0.6549 MB / 0.4986 GB, free: 5.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3079, allocations: 55.41 kB / 0.4987 GB, free: 5.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.3084, allocations: 0.5102 MB / 0.4992 GB, free: 4.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.3084, allocations: 33.7 kB / 0.4992 GB, free: 4.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.3087, allocations: 481.6 kB / 0.4997 GB, free: 4.211 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.3088, allocations: 161.7 kB / 0.4998 GB, free: 4.051 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.3089, allocations: 16 kB / 0.4998 GB, free: 4.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.309, allocations: 370.7 kB / 0.5002 GB, free: 3.664 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.3093, allocations: 173.9 kB / 0.5003 GB, free: 3.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004468/0.3098, allocations: 453.8 kB / 0.5008 GB, free: 2.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.3105, allocations: 0.6403 MB / 0.5014 GB, free: 2.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3105, allocations: 0 / 0.5014 GB, free: 2.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001099/0.3116, allocations: 0.7528 MB / 0.5021 GB, free: 1.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3116, allocations: 8 kB / 0.5021 GB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.3117, allocations: 8.531 kB / 0.5022 GB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002829/0.312, allocations: 96.69 kB / 0.5022 GB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.3126, allocations: 195.7 kB / 0.5024 GB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1623/0.4749, allocations: 1.8 MB / 0.5042 GB, free: 89.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.4755, allocations: 89.11 kB / 0.5043 GB, free: 89.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.4756, allocations: 33.16 kB / 0.5043 GB, free: 89.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003346/0.4759, allocations: 214.3 kB / 0.5045 GB, free: 89.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/0.476, allocations: 61.94 kB / 0.5046 GB, free: 89.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.4761, allocations: 63.7 kB / 0.5046 GB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.4762, allocations: 4.969 kB / 0.5046 GB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4762, allocations: 2.875 kB / 0.5046 GB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4762, allocations: 5.625 kB / 0.5046 GB, free: 89.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007665/0.477, allocations: 0.6387 MB / 0.5053 GB, free: 89.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.477, allocations: 5.812 kB / 0.5053 GB, free: 89.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/0.4774, allocations: 104.4 kB / 0.5054 GB, free: 89.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/0.4777, allocations: 74.58 kB / 0.5054 GB, free: 89.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.4777, allocations: 10.14 kB / 0.5055 GB, free: 89.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.4791, allocations: 1.791 MB / 0.5072 GB, free: 87.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4791, allocations: 4.828 kB / 0.5072 GB, free: 87.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/0.48, allocations: 0.6627 MB / 0.5079 GB, free: 87.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.242e-05/0.4801, allocations: 142.8 kB / 0.508 GB, free: 87.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.946e-05/0.4801, allocations: 6.469 kB / 0.508 GB, free: 87.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.4805, allocations: 56.17 kB / 0.5081 GB, free: 87.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.4806, allocations: 32.05 kB / 0.5081 GB, free: 87.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.513e-05/0.4807, allocations: 17.31 kB / 0.5081 GB, free: 87.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003526/0.481, allocations: 342.8 kB / 0.5084 GB, free: 87.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.481, allocations: 0 / 0.5084 GB, free: 87.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008196/0.4818, allocations: 244.7 kB / 0.5087 GB, free: 87.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001724/0.482, allocations: 116 kB / 0.5088 GB, free: 87.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.4831, allocations: 0.5948 MB / 0.5094 GB, free: 87.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4831, allocations: 5.062 kB / 0.5094 GB, free: 87.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.4835, allocations: 313.4 kB / 0.5097 GB, free: 87.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006391/0.4842, allocations: 116.9 kB / 0.5098 GB, free: 87.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.4864, allocations: 1.792 MB / 0.5115 GB, free: 86.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.4866, allocations: 0.9328 MB / 0.5124 GB, free: 85.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.4868, allocations: 46.22 kB / 0.5125 GB, free: 85.34 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4868, allocations: 0 / 0.5125 GB, free: 85.34 MB / 378.7 MB Notification: Performance of Templates: time 0.01028/0.4971, allocations: 10.9 MB / 0.5231 GB, free: 83.44 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches