Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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) 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(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 180.5 kB / 8.365 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001037, allocations: 86.2 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.497e-05/2.507e-05, allocations: 4 kB / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3416, allocations: 47.55 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.4672, allocations: 76.39 MB / 438.7 MB, free: 9.934 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.4676, allocations: 63.97 kB / 438.8 MB, free: 9.871 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02013/0.4877, allocations: 4.642 MB / 443.4 MB, free: 5.238 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.4878, allocations: 0 / 443.4 MB, free: 5.238 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.4878, allocations: 12 kB / 443.4 MB, free: 5.227 MB / 331.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.00106/0.4889, allocations: 0.5121 MB / 443.9 MB, free: 4.672 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.489, allocations: 8.031 kB / 444 MB, free: 4.664 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.4891, allocations: 39.62 kB / 444 MB, free: 4.625 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.4896, allocations: 250.5 kB / 444.2 MB, free: 4.34 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.4896, allocations: 8 kB / 444.2 MB, free: 4.332 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/0.4897, allocations: 23.33 kB / 444.3 MB, free: 4.312 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004674/0.4902, allocations: 153.1 kB / 444.4 MB, free: 4.164 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.4907, allocations: 199.8 kB / 444.6 MB, free: 3.961 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.4907, allocations: 0 / 444.6 MB, free: 3.961 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.4908, allocations: 0 / 444.6 MB, free: 3.961 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.4908, allocations: 4 kB / 444.6 MB, free: 3.957 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.4932, allocations: 0.9702 MB / 445.6 MB, free: 2.918 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/0.4938, allocations: 318 kB / 445.9 MB, free: 2.562 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/0.4944, allocations: 174 kB / 446.1 MB, free: 2.391 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.4945, allocations: 4.188 kB / 446.1 MB, free: 2.387 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.4945, allocations: 34.75 kB / 446.1 MB, free: 2.344 MB / 331.1 MB Notification: Performance of pre-optimization done (n=21): time 3.417e-06/0.4945, allocations: 0 / 446.1 MB, free: 2.344 MB / 331.1 MB Notification: Performance of matching and sorting (n=25): time 0.001748/0.4963, allocations: 0.6507 MB / 446.8 MB, free: 1.641 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.4963, allocations: 51.41 kB / 446.8 MB, free: 1.578 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.4966, allocations: 162.6 kB / 447 MB, free: 1.406 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.4966, allocations: 25.7 kB / 447 MB, free: 1.375 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4968, allocations: 226.5 kB / 447.2 MB, free: 1.152 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/0.4969, allocations: 90.66 kB / 447.3 MB, free: 1.062 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.4969, allocations: 0 / 447.3 MB, free: 1.062 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4971, allocations: 328.8 kB / 447.6 MB, free: 0.7344 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.4973, allocations: 60.56 kB / 447.7 MB, free: 0.6758 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.4975, allocations: 89.61 kB / 447.8 MB, free: 0.5859 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.4977, allocations: 67.97 kB / 447.8 MB, free: 0.5195 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4977, allocations: 0 / 447.8 MB, free: 0.5195 MB / 331.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007571/0.4985, allocations: 270.2 kB / 448.1 MB, free: 252 kB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.4986, allocations: 11.95 kB / 448.1 MB, free: 240 kB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4986, allocations: 3.984 kB / 448.1 MB, free: 236 kB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000385/0.499, allocations: 70.03 kB / 448.2 MB, free: 164 kB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.4993, allocations: 47.91 kB / 448.2 MB, free: 116 kB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/0.5022, allocations: 1.806 MB / 450 MB, free: 14.2 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.5024, allocations: 4.031 kB / 450 MB, free: 14.19 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.5025, allocations: 4 kB / 450 MB, free: 14.19 MB / 347.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.5026, allocations: 113 kB / 450.2 MB, free: 14.07 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.5027, allocations: 23.75 kB / 450.2 MB, free: 14.05 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.235e-05/0.5028, allocations: 26.98 kB / 450.2 MB, free: 14.02 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.5028, allocations: 8.062 kB / 450.2 MB, free: 14.01 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.5028, allocations: 0 / 450.2 MB, free: 14.01 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.5028, allocations: 4 kB / 450.2 MB, free: 14.01 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.5044, allocations: 0.6633 MB / 450.9 MB, free: 13.3 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5044, allocations: 0 / 450.9 MB, free: 13.3 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.5048, allocations: 35.98 kB / 450.9 MB, free: 13.27 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003318/0.5051, allocations: 74.44 kB / 451 MB, free: 13.2 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.5052, allocations: 3.984 kB / 451 MB, free: 13.19 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/0.5077, allocations: 1.718 MB / 452.7 MB, free: 11.36 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/0.5078, allocations: 5.75 kB / 452.7 MB, free: 11.36 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009058/0.5087, allocations: 422.5 kB / 453.1 MB, free: 10.93 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/0.5088, allocations: 88.92 kB / 453.2 MB, free: 10.82 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.5089, allocations: 0 / 453.2 MB, free: 10.82 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.5092, allocations: 16.05 kB / 453.2 MB, free: 10.8 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.165e-05/0.5093, allocations: 23.98 kB / 453.3 MB, free: 10.78 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.5093, allocations: 8 kB / 453.3 MB, free: 10.77 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001652/0.5095, allocations: 128.1 kB / 453.4 MB, free: 10.65 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.5095, allocations: 0 / 453.4 MB, free: 10.65 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0006215/0.5101, allocations: 68 kB / 453.5 MB, free: 10.58 MB / 347.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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.0001947/0.5104, allocations: 107.7 kB / 453.6 MB, free: 10.46 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0008957/0.5113, allocations: 317.5 kB / 453.9 MB, free: 10.14 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5113, allocations: 0 / 453.9 MB, free: 10.14 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006396/0.512, allocations: 241.4 kB / 454.1 MB, free: 9.898 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/0.5124, allocations: 34.14 kB / 454.1 MB, free: 9.871 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.5141, allocations: 0.6371 MB / 454.8 MB, free: 9.207 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.5146, allocations: 0.7765 MB / 455.5 MB, free: 8.402 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.5147, allocations: 15.44 kB / 455.6 MB, free: 8.387 MB / 347.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5148, allocations: 4 kB / 455.6 MB, free: 8.383 MB / 347.1 MB Notification: Performance of Templates: time 0.009628/0.5244, allocations: 3.784 MB / 459.4 MB, free: 4.613 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches