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.001323/0.001323, allocations: 175.6 kB / 13.63 MB, free: 1.684 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.273/1.273, allocations: 221.3 MB / 235.5 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008611/0.0008611, allocations: 99.48 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.96e-05, allocations: 4 kB / 343.8 MB, free: 4.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 50.41 MB / 394.2 MB, free: 1.855 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.293/0.3992, allocations: 78.42 MB / 472.7 MB, free: 9.129 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.3995, allocations: 75.73 kB / 472.7 MB, free: 9.059 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01278/0.4123, allocations: 4.899 MB / 477.6 MB, free: 4.133 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4123, allocations: 0 / 477.6 MB, free: 4.133 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.4123, allocations: 8 kB / 477.6 MB, free: 4.125 MB / 346.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.0006541/0.413, allocations: 0.5148 MB / 478.2 MB, free: 3.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4131, allocations: 12.03 kB / 478.2 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.4131, allocations: 31.62 kB / 478.2 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.4134, allocations: 246.6 kB / 478.4 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.4134, allocations: 24.56 kB / 478.5 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.4135, allocations: 24 kB / 478.5 MB, free: 3.195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.4139, allocations: 244.9 kB / 478.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4139, allocations: 7.875 kB / 478.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.414, allocations: 15.94 kB / 478.8 MB, free: 2.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.414, allocations: 8 kB / 478.8 MB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.4142, allocations: 166.2 kB / 478.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.4156, allocations: 1.022 MB / 479.9 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.416, allocations: 322.5 kB / 480.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.4164, allocations: 185.2 kB / 480.4 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.4164, allocations: 192 / 480.4 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.4164, allocations: 38.75 kB / 480.5 MB, free: 1.062 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.4164, allocations: 0 / 480.5 MB, free: 1.062 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001136/0.4176, allocations: 0.703 MB / 481.2 MB, free: 316 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.4176, allocations: 63.3 kB / 481.2 MB, free: 240 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.4178, allocations: 169.6 kB / 481.4 MB, free: 64 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.4178, allocations: 29.7 kB / 481.4 MB, free: 28 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4179, allocations: 172.1 kB / 481.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.418, allocations: 94.64 kB / 481.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-06/0.418, allocations: 4 kB / 481.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4181, allocations: 330.8 kB / 482 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.4182, allocations: 64.56 kB / 482.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.4184, allocations: 98.7 kB / 482.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.4185, allocations: 79.95 kB / 482.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.4185, allocations: 0 / 482.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004465/0.4189, allocations: 302 kB / 482.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.419, allocations: 4 kB / 482.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.419, allocations: 0 / 482.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002491/0.4192, allocations: 84.81 kB / 482.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.4194, allocations: 51.94 kB / 482.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.4213, allocations: 1.891 MB / 484.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.4214, allocations: 8 kB / 484.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.4214, allocations: 4 kB / 484.6 MB, free: 12.7 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 () * 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 8.359e-05/0.4215, allocations: 120.9 kB / 484.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.4216, allocations: 31.66 kB / 484.7 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.4216, allocations: 29.72 kB / 484.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4216, allocations: 0 / 484.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4217, allocations: 4 kB / 484.8 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4217, allocations: 3.984 kB / 484.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009476/0.4226, allocations: 0.7293 MB / 485.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4226, allocations: 4 kB / 485.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.4228, allocations: 39.92 kB / 485.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.423, allocations: 68.8 kB / 485.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.423, allocations: 8 kB / 485.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.4246, allocations: 1.776 MB / 487.4 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4247, allocations: 3.953 kB / 487.4 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.4252, allocations: 448.5 kB / 487.8 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/0.4253, allocations: 97.02 kB / 487.9 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.4253, allocations: 12 kB / 488 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.4255, allocations: 19.98 kB / 488 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.4256, allocations: 19.92 kB / 488 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.4256, allocations: 8 kB / 488 MB, free: 9.055 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.4257, allocations: 140.3 kB / 488.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4257, allocations: 0 / 488.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000399/0.4261, allocations: 80 kB / 488.2 MB, free: 8.84 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 () * 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.0001742/0.4263, allocations: 107.2 kB / 488.3 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006019/0.4269, allocations: 346.2 kB / 488.7 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4269, allocations: 0 / 488.7 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.4273, allocations: 250.5 kB / 488.9 MB, free: 8.113 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.4276, allocations: 29.16 kB / 488.9 MB, free: 8.086 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009374/0.4285, allocations: 0.6322 MB / 489.6 MB, free: 7.438 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.4288, allocations: 0.7752 MB / 490.3 MB, free: 6.637 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.873e-05/0.4289, allocations: 18.08 kB / 490.4 MB, free: 6.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.4289, allocations: 19.38 kB / 490.4 MB, free: 6.598 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4289, allocations: 0 / 490.4 MB, free: 6.598 MB / 362.7 MB Notification: Performance of Templates: time 0.005501/0.4344, allocations: 2.891 MB / 493.3 MB, free: 3.727 MB / 362.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