Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 200.8 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 226.5 MB / 245.4 MB, free: 6.531 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009743/0.0009738, allocations: 104.3 kB / 297.5 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002584, allocations: 8 kB / 358.1 MB, free: 10.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2866, allocations: 51.29 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.3989, allocations: 79.24 MB / 488.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.3993, allocations: 76.45 kB / 488.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01794/0.4172, allocations: 4.955 MB / 493.6 MB, free: 7.258 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.03e-06/0.4173, allocations: 0 / 493.6 MB, free: 7.258 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.282e-05/0.4173, allocations: 8 kB / 493.6 MB, free: 7.25 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.001079/0.4184, allocations: 0.5422 MB / 494.2 MB, free: 6.656 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.4185, allocations: 8.031 kB / 494.2 MB, free: 6.648 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.4186, allocations: 36.56 kB / 494.2 MB, free: 6.613 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.419, allocations: 251.7 kB / 494.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.4191, allocations: 20.94 kB / 494.5 MB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.505e-05/0.4192, allocations: 32.36 kB / 494.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/0.4198, allocations: 241.4 kB / 494.8 MB, free: 6.039 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.4198, allocations: 192 / 494.8 MB, free: 6.039 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.582e-05/0.4199, allocations: 23.94 kB / 494.8 MB, free: 6.016 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.4199, allocations: 8 kB / 494.8 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005153/0.4204, allocations: 186.2 kB / 495 MB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.4226, allocations: 1.029 MB / 496 MB, free: 4.723 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.4232, allocations: 332.9 kB / 496.3 MB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.4237, allocations: 198.9 kB / 496.5 MB, free: 4.156 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.4237, allocations: 0 / 496.5 MB, free: 4.156 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.4238, allocations: 46.5 kB / 496.6 MB, free: 4.102 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.164e-06/0.4238, allocations: 0 / 496.6 MB, free: 4.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.002038/0.4259, allocations: 0.7842 MB / 497.4 MB, free: 3.266 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.4259, allocations: 55.41 kB / 497.4 MB, free: 3.199 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.4262, allocations: 191 kB / 497.6 MB, free: 3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.4262, allocations: 29.7 kB / 497.6 MB, free: 2.965 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.4264, allocations: 168.2 kB / 497.8 MB, free: 2.797 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.832e-05/0.4265, allocations: 94.64 kB / 497.9 MB, free: 2.703 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.4265, allocations: 8 kB / 497.9 MB, free: 2.695 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4267, allocations: 342.8 kB / 498.2 MB, free: 2.352 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.4269, allocations: 68.53 kB / 498.3 MB, free: 2.281 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.4271, allocations: 100.2 kB / 498.4 MB, free: 2.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.4275, allocations: 182.2 kB / 498.6 MB, free: 1.996 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4275, allocations: 0 / 498.6 MB, free: 1.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006755/0.4282, allocations: 322 kB / 498.9 MB, free: 1.672 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.4283, allocations: 8.031 kB / 498.9 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4283, allocations: 0 / 498.9 MB, free: 1.664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003499/0.4286, allocations: 80.81 kB / 499 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.4289, allocations: 47.97 kB / 499 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.4315, allocations: 1.889 MB / 0.4892 GB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.4317, allocations: 12.02 kB / 0.4892 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.4317, allocations: 8 kB / 0.4892 GB, free: 15.49 MB / 378.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.0002032/0.432, allocations: 142.5 kB / 0.4893 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/0.432, allocations: 19.92 kB / 0.4893 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.593e-05/0.4321, allocations: 29.81 kB / 0.4894 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4321, allocations: 4.047 kB / 0.4894 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.4321, allocations: 8 kB / 0.4894 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4322, allocations: 0 / 0.4894 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.4337, allocations: 0.7487 MB / 0.4901 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4337, allocations: 0 / 0.4901 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.4339, allocations: 36.02 kB / 0.4901 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002533/0.4342, allocations: 76.64 kB / 0.4902 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.4342, allocations: 11.94 kB / 0.4902 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.4364, allocations: 1.79 MB / 0.492 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4364, allocations: 0 / 0.492 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009026/0.4373, allocations: 468.3 kB / 0.4924 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-05/0.4374, allocations: 96.83 kB / 0.4925 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.4375, allocations: 8.062 kB / 0.4925 GB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.4377, allocations: 15.98 kB / 0.4925 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.4378, allocations: 23.97 kB / 0.4926 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.4378, allocations: 7.938 kB / 0.4926 GB, free: 11.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000196/0.438, allocations: 148.3 kB / 0.4927 GB, free: 11.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4381, allocations: 0 / 0.4927 GB, free: 11.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006512/0.4387, allocations: 76 kB / 0.4928 GB, free: 11.57 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,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.0001993/0.4389, allocations: 107.2 kB / 0.4929 GB, free: 11.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008202/0.4398, allocations: 378.3 kB / 0.4932 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.4398, allocations: 4 kB / 0.4933 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.4403, allocations: 258.7 kB / 0.4935 GB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.4409, allocations: 46.39 kB / 0.4935 GB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.4429, allocations: 0.9489 MB / 0.4945 GB, free: 9.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.4434, allocations: 0.7636 MB / 0.4952 GB, free: 8.996 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.4435, allocations: 18.28 kB / 0.4952 GB, free: 8.977 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.4436, allocations: 23.38 kB / 0.4953 GB, free: 8.953 MB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4436, allocations: 0 / 0.4953 GB, free: 8.953 MB / 378.7 MB Notification: Performance of Templates: time 0.009322/0.4529, allocations: 2.921 MB / 0.4981 GB, free: 6.051 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches