Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009711/0.000971, allocations: 184.1 kB / 18.04 MB, free: 3.781 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.4 MB / 224.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008681/0.0008681, allocations: 97.59 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 12 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2196, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09121/0.3109, allocations: 77.19 MB / 454.2 MB, free: 3.363 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.3112, allocations: 67.97 kB / 454.3 MB, free: 3.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01262/0.3238, allocations: 4.703 MB / 459 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3238, allocations: 0 / 459 MB, free: 14.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.3239, allocations: 4 kB / 459 MB, free: 14.56 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.0007859/0.3247, allocations: 0.5383 MB / 459.5 MB, free: 13.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3247, allocations: 8.031 kB / 459.5 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.3248, allocations: 32.56 kB / 459.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.3251, allocations: 259.7 kB / 459.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.3251, allocations: 16.94 kB / 459.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.3252, allocations: 28.38 kB / 459.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.3257, allocations: 257.4 kB / 460.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3257, allocations: 192 / 460.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.3257, allocations: 19.88 kB / 460.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.3258, allocations: 11.94 kB / 460.1 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.3261, allocations: 186.2 kB / 460.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.3276, allocations: 1.021 MB / 461.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.328, allocations: 332.9 kB / 461.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.3284, allocations: 196.8 kB / 461.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.3284, allocations: 0 / 461.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.3284, allocations: 34.56 kB / 461.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.422e-06/0.3284, allocations: 0 / 461.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001404/0.3298, allocations: 0.7816 MB / 462.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.3299, allocations: 55.41 kB / 462.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.3301, allocations: 190.2 kB / 462.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3301, allocations: 41.64 kB / 462.9 MB, free: 10.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.3302, allocations: 172.2 kB / 463.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.3303, allocations: 94.64 kB / 463.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.3303, allocations: 4 kB / 463.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3304, allocations: 334.8 kB / 463.5 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.3306, allocations: 72.53 kB / 463.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.3307, allocations: 110.7 kB / 463.7 MB, free: 9.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.331, allocations: 173.7 kB / 463.9 MB, free: 9.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.331, allocations: 0 / 463.9 MB, free: 9.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005115/0.3315, allocations: 322.1 kB / 464.2 MB, free: 8.984 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3315, allocations: 4 kB / 464.2 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3316, allocations: 0 / 464.2 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.3318, allocations: 80.81 kB / 464.3 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.332, allocations: 47.92 kB / 464.3 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.3338, allocations: 1.905 MB / 466.2 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.334, allocations: 11.98 kB / 466.3 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.334, allocations: 4 kB / 466.3 MB, free: 6.797 MB / 346.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.0001464/0.3342, allocations: 145.8 kB / 466.4 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.267e-05/0.3342, allocations: 23.75 kB / 466.4 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.3343, allocations: 25.88 kB / 466.4 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3343, allocations: 0 / 466.4 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3343, allocations: 4 kB / 466.4 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3343, allocations: 3.984 kB / 466.5 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.3353, allocations: 0.7489 MB / 467.2 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3353, allocations: 0 / 467.2 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.3355, allocations: 39.98 kB / 467.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/0.3357, allocations: 80.64 kB / 467.3 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.3358, allocations: 11.94 kB / 467.3 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.3373, allocations: 1.78 MB / 469.1 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3373, allocations: 0 / 469.1 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006325/0.3379, allocations: 468.2 kB / 469.6 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.338, allocations: 92.94 kB / 469.7 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.338, allocations: 12 kB / 469.7 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.3382, allocations: 19.98 kB / 469.7 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.3383, allocations: 19.91 kB / 469.7 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3383, allocations: 15.94 kB / 469.7 MB, free: 3.082 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.3384, allocations: 144.2 kB / 469.9 MB, free: 2.941 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3384, allocations: 0 / 469.9 MB, free: 2.941 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004202/0.3388, allocations: 80 kB / 469.9 MB, free: 2.863 MB / 346.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.0001419/0.339, allocations: 103.2 kB / 470 MB, free: 2.754 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006534/0.3396, allocations: 370.7 kB / 470.4 MB, free: 2.379 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.3397, allocations: 0 / 470.4 MB, free: 2.379 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.3401, allocations: 262.9 kB / 470.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.3405, allocations: 34.05 kB / 470.7 MB, free: 2.078 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3418, allocations: 0.9534 MB / 471.7 MB, free: 1.102 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.3421, allocations: 0.7636 MB / 472.4 MB, free: 320 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.918e-05/0.3423, allocations: 26.27 kB / 472.4 MB, free: 288 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.3423, allocations: 23.38 kB / 472.5 MB, free: 264 kB / 346.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3423, allocations: 0 / 472.5 MB, free: 264 kB / 346.7 MB Notification: Performance of Templates: time 0.006583/0.3489, allocations: 2.917 MB / 475.4 MB, free: 13.36 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches