Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00347/0.00347, allocations: 172.7 kB / 24.91 MB, free: 9.148 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9989/0.9989, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.074e-05, allocations: 2.312 kB / 273.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003148/0.003169, allocations: 2.854 MB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.004351, allocations: 0.658 MB / 277 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.004517, allocations: 8 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.004661, allocations: 55.44 kB / 277.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.004826, allocations: 95.12 kB / 277.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.005028, allocations: 75.88 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.005328, allocations: 362.7 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.005546, allocations: 110.3 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.00577, allocations: 199.6 kB / 277.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.00594, allocations: 115.7 kB / 278 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.005979, allocations: 32 kB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.013e-05/0.006009, allocations: 28 kB / 278.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.006057, allocations: 75.69 kB / 278.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.335e-05/0.006141, allocations: 115.7 kB / 278.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.006381, allocations: 239.1 kB / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006384, allocations: 0 / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.006385, allocations: 0 / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.00639, allocations: 0 / 278.5 MB, free: 12.21 MB / 266.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.0004907/0.006881, allocations: 0.5001 MB / 279 MB, free: 11.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.006916, allocations: 12.03 kB / 279 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.006966, allocations: 40.91 kB / 279 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.007144, allocations: 177.2 kB / 279.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.007159, allocations: 21.03 kB / 279.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.007193, allocations: 28.38 kB / 279.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.007418, allocations: 238.7 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.007428, allocations: 4.188 kB / 279.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.007446, allocations: 8.375 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.007455, allocations: 11.94 kB / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.007541, allocations: 64.56 kB / 279.6 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008568/0.008398, allocations: 0.7157 MB / 280.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.008559, allocations: 114.4 kB / 280.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.886e-05/0.008638, allocations: 72.83 kB / 280.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.008649, allocations: 4 kB / 280.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.008672, allocations: 38.56 kB / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.008674, allocations: 0 / 280.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007614/0.009435, allocations: 0.5191 MB / 281 MB, free: 9.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.009463, allocations: 63.28 kB / 281.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.009564, allocations: 183.3 kB / 281.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.009579, allocations: 29.7 kB / 281.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.009655, allocations: 164.5 kB / 281.5 MB, free: 9.035 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003538/0.01001, allocations: 95.25 kB / 281.6 MB, free: 8.941 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.01006, allocations: 53.92 kB / 281.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.01014, allocations: 334.8 kB / 281.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.01017, allocations: 24.55 kB / 282 MB, free: 8.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.698e-05/0.01022, allocations: 54.81 kB / 282 MB, free: 8.465 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.039e-05/0.01031, allocations: 101.6 kB / 282.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.01031, allocations: 0 / 282.1 MB, free: 8.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001981/0.01051, allocations: 194.2 kB / 282.3 MB, free: 8.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.01052, allocations: 7.938 kB / 282.3 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.01053, allocations: 0 / 282.3 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.01069, allocations: 72.73 kB / 282.4 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.01082, allocations: 54.53 kB / 282.4 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.01183, allocations: 1.637 MB / 284.1 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.01188, allocations: 8.031 kB / 284.1 MB, free: 6.293 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.01189, allocations: 8 kB / 284.1 MB, free: 6.285 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.004e-05/0.01197, allocations: 129.7 kB / 284.2 MB, free: 6.148 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.012, allocations: 19.98 kB / 284.2 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.01202, allocations: 25.97 kB / 284.3 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.01202, allocations: 8 kB / 284.3 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.01203, allocations: 11.92 kB / 284.3 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.01203, allocations: 0 / 284.3 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.01247, allocations: 439.2 kB / 284.7 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.01248, allocations: 3.938 kB / 284.7 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.01259, allocations: 54.88 kB / 284.8 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/0.01271, allocations: 60.75 kB / 284.8 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.01273, allocations: 11.98 kB / 284.8 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009608/0.01369, allocations: 1.571 MB / 286.4 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01369, allocations: 0 / 286.4 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.01396, allocations: 309.2 kB / 286.7 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.768e-05/0.01398, allocations: 15.86 kB / 286.7 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.014, allocations: 11.94 kB / 286.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.01408, allocations: 16.02 kB / 286.8 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.01413, allocations: 27.89 kB / 286.8 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.01414, allocations: 4 kB / 286.8 MB, free: 3.445 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.01418, allocations: 58.66 kB / 286.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01418, allocations: 0 / 286.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.01446, allocations: 72 kB / 286.9 MB, free: 3.316 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 9.773e-05/0.01456, allocations: 88.41 kB / 287 MB, free: 3.223 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003462/0.0149, allocations: 291.1 kB / 287.3 MB, free: 2.922 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.01491, allocations: 4 kB / 287.3 MB, free: 2.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002081/0.01512, allocations: 235.1 kB / 287.5 MB, free: 2.672 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.0153, allocations: 32.05 kB / 287.6 MB, free: 2.641 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007889/0.01609, allocations: 0.5553 MB / 288.1 MB, free: 2.055 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.715e-05/0.01615, allocations: 92.31 kB / 288.2 MB, free: 1.945 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.515e-05/0.01621, allocations: 22.28 kB / 288.2 MB, free: 1.926 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.01632, allocations: 95.34 kB / 288.3 MB, free: 1.832 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01632, allocations: 0 / 288.3 MB, free: 1.832 MB / 266.7 MB Notification: Performance of Templates: time 0.09805/0.1144, allocations: 3.589 MB / 291.9 MB, free: 25.03 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.675799774006009]