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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 147.5 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.026/1.026, allocations: 173.3 MB / 201.4 MB, free: 9.223 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,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=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.045e-05, allocations: 2.312 kB / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003054/0.003075, allocations: 2.777 MB / 271.2 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.004325, allocations: 0.6114 MB / 271.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.004476, allocations: 8 kB / 271.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.004622, allocations: 51.5 kB / 271.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.004795, allocations: 95.08 kB / 272 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.00499, allocations: 75.88 kB / 272 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.00533, allocations: 366.7 kB / 272.4 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.005512, allocations: 99.83 kB / 272.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001809/0.005692, allocations: 199.6 kB / 272.7 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.005863, allocations: 111.7 kB / 272.8 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.005898, allocations: 36 kB / 272.8 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.445e-05/0.005933, allocations: 32 kB / 272.9 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.005977, allocations: 67.75 kB / 272.9 MB, free: 1.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.653e-05/0.006054, allocations: 115.7 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.006274, allocations: 239.1 kB / 273.3 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.006276, allocations: 0 / 273.3 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.006277, allocations: 0 / 273.3 MB, free: 1.312 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.006281, allocations: 0 / 273.3 MB, free: 1.312 MB / 250.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.0005715/0.006853, allocations: 0.6325 MB / 273.9 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.006892, allocations: 8.922 kB / 273.9 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.006951, allocations: 52.75 kB / 274 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.007132, allocations: 204.1 kB / 274.2 MB, free: 368 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.007149, allocations: 21.03 kB / 274.2 MB, free: 344 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.007183, allocations: 32.38 kB / 274.2 MB, free: 312 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.007388, allocations: 230.8 kB / 274.4 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.007395, allocations: 192 / 274.4 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.007411, allocations: 12.38 kB / 274.5 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.00742, allocations: 15.92 kB / 274.5 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.763e-05/0.007517, allocations: 76.52 kB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.008693, allocations: 0.8519 MB / 275.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.008876, allocations: 139 kB / 275.5 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.008959, allocations: 83.64 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.008971, allocations: 7.938 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.008993, allocations: 41.39 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.008994, allocations: 0 / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007074/0.009702, allocations: 0.5235 MB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.00973, allocations: 63.34 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.009847, allocations: 234.5 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.009861, allocations: 29.7 kB / 276.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.009951, allocations: 223.2 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.009999, allocations: 95.16 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.01006, allocations: 59.61 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.01018, allocations: 0.5001 MB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.735e-05/0.01022, allocations: 28.55 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-05/0.01028, allocations: 65.55 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.01038, allocations: 111.2 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.01038, allocations: 4 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002508/0.01063, allocations: 240.8 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.01064, allocations: 4 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.01065, allocations: 0 / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.01083, allocations: 87.64 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.01093, allocations: 43.92 kB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.01218, allocations: 2.326 MB / 280.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.52e-05/0.01223, allocations: 11.98 kB / 280.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.01224, allocations: 4 kB / 280.3 MB, free: 9.887 MB / 266.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.834e-05/0.01233, allocations: 164.6 kB / 280.4 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.01237, allocations: 31.84 kB / 280.5 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.184e-05/0.01239, allocations: 25.97 kB / 280.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.01239, allocations: 0 / 280.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.0124, allocations: 8.031 kB / 280.5 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.0124, allocations: 3.984 kB / 280.5 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.01295, allocations: 0.5718 MB / 281.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01295, allocations: 0 / 281.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-05/0.01304, allocations: 31.98 kB / 281.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000146/0.01319, allocations: 75.56 kB / 281.2 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.0132, allocations: 7.984 kB / 281.2 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.01459, allocations: 2.248 MB / 283.5 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01459, allocations: 0 / 283.5 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.01489, allocations: 403.5 kB / 283.8 MB, free: 6.141 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.01491, allocations: 15.84 kB / 283.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.01493, allocations: 8 kB / 283.9 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.01501, allocations: 20.02 kB / 283.9 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.01505, allocations: 19.89 kB / 283.9 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.01506, allocations: 12.09 kB / 283.9 MB, free: 6.066 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.95e-05/0.01513, allocations: 168.4 kB / 284.1 MB, free: 5.902 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01513, allocations: 0 / 284.1 MB, free: 5.902 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002681/0.0154, allocations: 80 kB / 284.2 MB, free: 5.824 MB / 266.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.91e-05/0.01549, allocations: 103.2 kB / 284.3 MB, free: 5.715 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003408/0.01583, allocations: 365.3 kB / 284.6 MB, free: 5.336 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01583, allocations: 0 / 284.6 MB, free: 5.336 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.01604, allocations: 285.2 kB / 284.9 MB, free: 5.035 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.01626, allocations: 47.02 kB / 284.9 MB, free: 4.992 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008599/0.01712, allocations: 0.6389 MB / 285.6 MB, free: 4.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.153e-05/0.01718, allocations: 96.3 kB / 285.7 MB, free: 4.207 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.626e-05/0.01723, allocations: 13.95 kB / 285.7 MB, free: 4.195 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.813e-05/0.01732, allocations: 110.2 kB / 285.8 MB, free: 4.086 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01732, allocations: 4 kB / 285.8 MB, free: 4.082 MB / 266.7 MB Notification: Performance of Templates: time 0.005547/0.02287, allocations: 3.55 MB / 289.4 MB, free: 0.5938 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.831959852948785]