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.002216/0.002216, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002513/0.002513, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.483/1.483, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.174e-06/2.174e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.508e-05/3.725e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004703/0.00474, allocations: 2.642 MB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.00605, allocations: 0.6272 MB / 275.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.006191, allocations: 8 kB / 275.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.006371, allocations: 51.44 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.006566, allocations: 87.2 kB / 275.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.006765, allocations: 79.81 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004466/0.007211, allocations: 366.7 kB / 276.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.007429, allocations: 103.8 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002606/0.00769, allocations: 203.6 kB / 276.5 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.00789, allocations: 107.7 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.359e-05/0.007944, allocations: 32 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.613e-05/0.008, allocations: 32 kB / 276.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.008069, allocations: 67.75 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.008225, allocations: 119.7 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004464/0.008671, allocations: 358.9 kB / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.008674, allocations: 0 / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.008675, allocations: 0 / 277.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.00868, allocations: 3.938 kB / 277.2 MB, free: 12.93 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.0009428/0.009623, allocations: 0.5287 MB / 277.7 MB, free: 12.37 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.009656, allocations: 8.031 kB / 277.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.009769, allocations: 60.69 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.01014, allocations: 201.3 kB / 278 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.01017, allocations: 21.03 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.01023, allocations: 28.38 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005186/0.01075, allocations: 302 kB / 278.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.01076, allocations: 192 / 278.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.01079, allocations: 12.38 kB / 278.3 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.01081, allocations: 11.94 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003959/0.0112, allocations: 182.5 kB / 278.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.01277, allocations: 0.8716 MB / 279.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.01314, allocations: 166.6 kB / 279.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.01338, allocations: 120.8 kB / 279.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.01339, allocations: 4 kB / 279.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.01343, allocations: 38.55 kB / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.273e-06/0.01343, allocations: 0 / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001564/0.01499, allocations: 0.71 MB / 280.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.01505, allocations: 59.34 kB / 280.5 MB, free: 9.434 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.01527, allocations: 184.4 kB / 280.7 MB, free: 9.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.0153, allocations: 29.7 kB / 280.7 MB, free: 9.207 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.01545, allocations: 176.5 kB / 280.9 MB, free: 9.031 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.183e-05/0.01554, allocations: 95.16 kB / 281 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/0.01563, allocations: 53.98 kB / 281 MB, free: 8.879 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.01583, allocations: 330.8 kB / 281.3 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.01599, allocations: 72.53 kB / 281.4 MB, free: 8.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.01616, allocations: 98.8 kB / 281.5 MB, free: 8.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.01648, allocations: 170.2 kB / 281.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01648, allocations: 0 / 281.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006248/0.0171, allocations: 338 kB / 282 MB, free: 7.863 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.01712, allocations: 4 kB / 282 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01713, allocations: 7.938 kB / 282 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/0.01746, allocations: 96.75 kB / 282.1 MB, free: 7.754 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.01764, allocations: 43.97 kB / 282.2 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.02006, allocations: 1.954 MB / 284.1 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.02017, allocations: 16.08 kB / 284.1 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.02019, allocations: 12 kB / 284.1 MB, free: 5.629 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 0.0001536/0.02034, allocations: 133.8 kB / 284.3 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.02041, allocations: 35.8 kB / 284.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.977e-05/0.02047, allocations: 29.95 kB / 284.3 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.02047, allocations: 4 kB / 284.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.02048, allocations: 0 / 284.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.02048, allocations: 0 / 284.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.0216, allocations: 0.6393 MB / 285 MB, free: 4.738 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.0216, allocations: 3.938 kB / 285 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.02178, allocations: 35.92 kB / 285 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002681/0.02205, allocations: 80.83 kB / 285.1 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.02207, allocations: 7.984 kB / 285.1 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.02419, allocations: 1.856 MB / 287 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02419, allocations: 0 / 287 MB, free: 2.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007624/0.02495, allocations: 472.9 kB / 287.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.02499, allocations: 23.91 kB / 287.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.02502, allocations: 8 kB / 287.5 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.02518, allocations: 4.125 kB / 287.5 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.02524, allocations: 28.02 kB / 287.5 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.02526, allocations: 12 kB / 287.5 MB, free: 2.102 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.02542, allocations: 149.1 kB / 287.6 MB, free: 1.957 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02542, allocations: 0 / 287.6 MB, free: 1.957 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004281/0.02585, allocations: 75.94 kB / 287.7 MB, free: 1.883 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 0.0001444/0.02599, allocations: 107.2 kB / 287.8 MB, free: 1.766 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007092/0.0267, allocations: 350.2 kB / 288.2 MB, free: 1.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.02671, allocations: 4 kB / 288.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004783/0.02718, allocations: 246.3 kB / 288.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.02753, allocations: 35.97 kB / 288.4 MB, free: 1.117 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.02875, allocations: 0.6608 MB / 289.1 MB, free: 436 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.02893, allocations: 158.8 kB / 289.3 MB, free: 260 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.298e-05/0.029, allocations: 17.95 kB / 289.3 MB, free: 240 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.02906, allocations: 20.5 kB / 289.3 MB, free: 220 kB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02906, allocations: 0 / 289.3 MB, free: 220 kB / 266.7 MB Notification: Performance of Templates: time 0.008163/0.03722, allocations: 3.303 MB / 292.6 MB, free: 12.96 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.686217869981192]