Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.000941/0.000941, allocations: 80.92 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.001006/0.001006, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9573/0.9573, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.188e-05, allocations: 9.969 kB / 273.5 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004498/0.00452, allocations: 5.574 MB / 279.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.006697, allocations: 1.246 MB / 280.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003485/0.007045, allocations: 19.94 kB / 280.3 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.007322, allocations: 174.3 kB / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.007725, allocations: 297.2 kB / 280.8 MB, free: 9.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.008083, allocations: 227.6 kB / 281 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000869/0.008952, allocations: 1.106 MB / 282.1 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004188/0.009371, allocations: 399 kB / 282.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005467/0.009918, allocations: 0.6238 MB / 283.1 MB, free: 7.398 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.01029, allocations: 382.9 kB / 283.5 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.191e-05/0.01038, allocations: 96 kB / 283.6 MB, free: 6.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.468e-05/0.01047, allocations: 100 kB / 283.7 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.01058, allocations: 223.1 kB / 283.9 MB, free: 6.613 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.01081, allocations: 367.2 kB / 284.3 MB, free: 6.254 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.01133, allocations: 0.7161 MB / 285 MB, free: 5.535 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01133, allocations: 4 kB / 285 MB, free: 5.531 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01133, allocations: 4 kB / 285 MB, free: 5.527 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.01134, allocations: 0 / 285 MB, free: 5.527 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001036/0.01238, allocations: 1.169 MB / 286.2 MB, free: 4.328 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.01241, allocations: 12.03 kB / 286.2 MB, free: 4.316 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.01253, allocations: 156.8 kB / 286.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.01285, allocations: 304.9 kB / 286.6 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.01288, allocations: 74.38 kB / 286.7 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.01296, allocations: 96.38 kB / 286.8 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.01357, allocations: 0.9375 MB / 287.8 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.01359, allocations: 4.125 kB / 287.8 MB, free: 2.637 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.01363, allocations: 40.38 kB / 287.8 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.01364, allocations: 31.94 kB / 287.8 MB, free: 2.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.01388, allocations: 233.8 kB / 288.1 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1105/0.1244, allocations: 2.3 MB / 290.4 MB, free: 26.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.1247, allocations: 173.6 kB / 290.5 MB, free: 26.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.1248, allocations: 146.3 kB / 290.7 MB, free: 26.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1249, allocations: 6.25 kB / 290.7 MB, free: 26.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1249, allocations: 39.47 kB / 290.7 MB, free: 26.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.975e-06/0.1249, allocations: 0.7188 kB / 290.7 MB, free: 26.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008933/0.1258, allocations: 366.5 kB / 291.1 MB, free: 26.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.1258, allocations: 56.38 kB / 291.1 MB, free: 26.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.1262, allocations: 453 kB / 291.6 MB, free: 26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.1262, allocations: 35.67 kB / 291.6 MB, free: 25.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.1264, allocations: 474.9 kB / 292.1 MB, free: 25.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.255e-05/0.1265, allocations: 164.3 kB / 292.2 MB, free: 25.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.1266, allocations: 138.6 kB / 292.4 MB, free: 25.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.56e-05/0.1267, allocations: 373.7 kB / 292.7 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.1268, allocations: 67.73 kB / 292.8 MB, free: 25.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.127, allocations: 354.8 kB / 293.1 MB, free: 25.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.1274, allocations: 0.494 MB / 293.6 MB, free: 24.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.1274, allocations: 2.859 kB / 293.6 MB, free: 24.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006952/0.1281, allocations: 498.5 kB / 294.1 MB, free: 24.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.1281, allocations: 9.047 kB / 294.1 MB, free: 24.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.1281, allocations: 10.27 kB / 294.1 MB, free: 24.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000273/0.1284, allocations: 87.61 kB / 294.2 MB, free: 24.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.1288, allocations: 200.4 kB / 294.4 MB, free: 24.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007863/0.1295, allocations: 1.575 MB / 296 MB, free: 23.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.1298, allocations: 91.28 kB / 296.1 MB, free: 23.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.1298, allocations: 26.53 kB / 296.1 MB, free: 23.24 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0001201/0.1299, allocations: 156.9 kB / 296.3 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.13, allocations: 55.48 kB / 296.3 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.13, allocations: 63.11 kB / 296.4 MB, free: 23.1 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.13, allocations: 4.812 kB / 296.4 MB, free: 23.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.13, allocations: 2.906 kB / 296.4 MB, free: 23.1 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1301, allocations: 2.156 kB / 296.4 MB, free: 23.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003019/0.1304, allocations: 329.2 kB / 296.7 MB, free: 23.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1304, allocations: 4.953 kB / 296.7 MB, free: 23.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.1306, allocations: 94.72 kB / 296.8 MB, free: 23.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.1307, allocations: 77.8 kB / 296.9 MB, free: 22.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.1307, allocations: 11.78 kB / 296.9 MB, free: 22.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006335/0.1314, allocations: 1.572 MB / 298.5 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1314, allocations: 2.156 kB / 298.5 MB, free: 21.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.1317, allocations: 425.3 kB / 298.9 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.1318, allocations: 46.83 kB / 298.9 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.1318, allocations: 14.34 kB / 298.9 MB, free: 21.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.132, allocations: 44.78 kB / 299 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.132, allocations: 29.05 kB / 299 MB, free: 21.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.132, allocations: 11.2 kB / 299 MB, free: 21.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000142/0.1322, allocations: 185.5 kB / 299.2 MB, free: 21.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1322, allocations: 0 / 299.2 MB, free: 21.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004784/0.1327, allocations: 257.4 kB / 299.5 MB, free: 21.41 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,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.176e-05/0.1327, allocations: 96.22 kB / 299.6 MB, free: 21.34 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.1332, allocations: 454.7 kB / 300 MB, free: 21.17 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/0.1332, allocations: 18.12 kB / 300 MB, free: 21.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.1334, allocations: 260.8 kB / 300.3 MB, free: 21.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.1337, allocations: 97.25 kB / 300.4 MB, free: 21.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1349, allocations: 1.178 MB / 301.5 MB, free: 20.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.135, allocations: 146.2 kB / 301.7 MB, free: 20.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001557/0.1352, allocations: 64.78 kB / 301.8 MB, free: 20.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.1354, allocations: 184.8 kB / 301.9 MB, free: 20.25 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1354, allocations: 7.938 kB / 301.9 MB, free: 20.24 MB / 266.7 MB Notification: Performance of Templates: time 0.008873/0.1443, allocations: 7.244 MB / 309.2 MB, free: 17.02 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.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.7559598619118333]