Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001247, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009503/0.0009501, allocations: 96.23 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 11.94 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2923, allocations: 50.41 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.3927, allocations: 78.48 MB / 480 MB, free: 1.957 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.3929, allocations: 72.5 kB / 480.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01248/0.4054, allocations: 4.903 MB / 485 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.811e-06/0.4055, allocations: 0 / 485 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.4055, allocations: 7.938 kB / 485 MB, free: 12.95 MB / 362.7 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.0008094/0.4063, allocations: 0.5421 MB / 485.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4064, allocations: 12.03 kB / 485.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.4064, allocations: 31.62 kB / 485.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.4068, allocations: 250.5 kB / 485.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.4068, allocations: 20.56 kB / 485.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.4069, allocations: 27.94 kB / 485.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.4073, allocations: 252.8 kB / 486.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4073, allocations: 0 / 486.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.4073, allocations: 12 kB / 486.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.4074, allocations: 8 kB / 486.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.4077, allocations: 190.2 kB / 486.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.4092, allocations: 1.025 MB / 487.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.4096, allocations: 329.4 kB / 487.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.4096, allocations: 192 / 487.6 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.4096, allocations: 38.75 kB / 487.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.245e-06/0.4096, allocations: 0 / 487.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001376/0.411, allocations: 0.7968 MB / 488.5 MB, free: 9.164 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.4111, allocations: 51.41 kB / 488.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.4112, allocations: 173.5 kB / 488.7 MB, free: 8.922 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.4113, allocations: 29.7 kB / 488.7 MB, free: 8.887 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.4113, allocations: 180.2 kB / 488.9 MB, free: 8.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.4114, allocations: 86.75 kB / 489 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/0.4114, allocations: 4 kB / 489 MB, free: 8.617 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4116, allocations: 338.8 kB / 489.3 MB, free: 8.277 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.4117, allocations: 68.53 kB / 489.4 MB, free: 8.207 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.4119, allocations: 111.6 kB / 489.5 MB, free: 8.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.412, allocations: 80.53 kB / 489.6 MB, free: 8.016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.412, allocations: 0 / 489.6 MB, free: 8.016 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004879/0.4125, allocations: 330 kB / 489.9 MB, free: 7.684 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4125, allocations: 6.812 kB / 489.9 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.4125, allocations: 4 kB / 489.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.4128, allocations: 80.81 kB / 490 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.413, allocations: 47.91 kB / 490 MB, free: 7.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002533/0.4155, allocations: 1.924 MB / 492 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.4158, allocations: 12 kB / 492 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.4158, allocations: 4.375 kB / 492 MB, free: 5.473 MB / 362.7 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 () * Number of clocked 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00027/0.4161, allocations: 141.8 kB / 492.1 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.4162, allocations: 23.77 kB / 492.1 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.301e-05/0.4163, allocations: 29.94 kB / 492.2 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4163, allocations: 3.938 kB / 492.2 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/0.4163, allocations: 4 kB / 492.2 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.4163, allocations: 3.984 kB / 492.2 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.418, allocations: 0.7463 MB / 492.9 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.418, allocations: 0 / 492.9 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.4183, allocations: 39.97 kB / 493 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003101/0.4186, allocations: 68.8 kB / 493 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.4187, allocations: 12 kB / 493 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/0.421, allocations: 1.816 MB / 494.9 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4211, allocations: 0 / 494.9 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009399/0.422, allocations: 472.2 kB / 495.3 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.861e-05/0.4221, allocations: 96.89 kB / 495.4 MB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/0.4222, allocations: 3.984 kB / 495.4 MB, free: 1.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.4224, allocations: 16.56 kB / 495.4 MB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/0.4225, allocations: 19.97 kB / 495.5 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.4226, allocations: 8 kB / 495.5 MB, free: 1.742 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001746/0.4228, allocations: 149.4 kB / 495.6 MB, free: 1.598 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4228, allocations: 0 / 495.6 MB, free: 1.598 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007444/0.4235, allocations: 91.95 kB / 495.7 MB, free: 1.508 MB / 362.7 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 () * Number of clocked 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.0001795/0.4237, allocations: 103.2 kB / 495.8 MB, free: 1.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009039/0.4246, allocations: 366.5 kB / 496.2 MB, free: 1.027 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4246, allocations: 0 / 496.2 MB, free: 1.027 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005855/0.4252, allocations: 262.5 kB / 496.4 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.4257, allocations: 43.12 kB / 496.5 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.4276, allocations: 0.9525 MB / 497.4 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.428, allocations: 0.7753 MB / 498.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.4281, allocations: 18.28 kB / 498.2 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.4282, allocations: 19.44 kB / 498.2 MB, free: 14.91 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4282, allocations: 4 kB / 498.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of Templates: time 0.008755/0.437, allocations: 2.878 MB / 0.4894 GB, free: 12.04 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches