Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.001198/0.001198, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.002387/0.002387, allocations: 146.9 kB / 24.89 MB, free: 8.742 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 0.9479/0.9479, allocations: 173.4 MB / 201.5 MB, free: 8.773 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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 268.5 MB, free: 6.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.594e-05, allocations: 2.312 kB / 268.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004895/0.004911, allocations: 5.562 MB / 274.1 MB, free: 424 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.006121, allocations: 1.207 MB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.00633, allocations: 23.88 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.006571, allocations: 174.3 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005785/0.007149, allocations: 297.2 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.007432, allocations: 227.6 kB / 276 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006262/0.008059, allocations: 1.098 MB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/0.008433, allocations: 395 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003887/0.008821, allocations: 0.6277 MB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000338/0.009159, allocations: 390.8 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.837e-05/0.009248, allocations: 96 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.549e-05/0.009333, allocations: 96 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.009442, allocations: 227.2 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.009661, allocations: 371.1 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.01013, allocations: 0.7122 MB / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.01013, allocations: 0 / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01013, allocations: 0 / 280 MB, free: 10.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.01014, allocations: 4 kB / 280 MB, free: 10.46 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.0009916/0.01113, allocations: 1.17 MB / 281.1 MB, free: 9.262 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.01116, allocations: 8.922 kB / 281.1 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.01128, allocations: 152.8 kB / 281.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.01158, allocations: 308.9 kB / 281.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.01162, allocations: 78.31 kB / 281.7 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/0.01169, allocations: 92.38 kB / 281.8 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000821/0.01251, allocations: 0.9414 MB / 282.7 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.01253, allocations: 192 / 282.7 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.01257, allocations: 44.38 kB / 282.8 MB, free: 7.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.01258, allocations: 27.94 kB / 282.8 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.01282, allocations: 233.8 kB / 283 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.01476, allocations: 2.306 MB / 285.3 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.01493, allocations: 186.1 kB / 285.5 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.01505, allocations: 145.3 kB / 285.6 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.01507, allocations: 12 kB / 285.6 MB, free: 4.527 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.01509, allocations: 42.55 kB / 285.7 MB, free: 4.477 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.372e-06/0.01509, allocations: 0 / 285.7 MB, free: 4.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005594/0.01565, allocations: 354.3 kB / 286 MB, free: 4.121 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.01567, allocations: 59.41 kB / 286.1 MB, free: 4.051 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.01591, allocations: 454.8 kB / 286.5 MB, free: 3.594 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.01593, allocations: 33.7 kB / 286.6 MB, free: 3.555 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.01609, allocations: 471.7 kB / 287 MB, free: 3.086 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.897e-05/0.01616, allocations: 162.6 kB / 287.2 MB, free: 2.926 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.01626, allocations: 146.5 kB / 287.3 MB, free: 2.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.01635, allocations: 374.5 kB / 287.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/0.01642, allocations: 65.97 kB / 287.8 MB, free: 2.336 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.0166, allocations: 357.3 kB / 288.1 MB, free: 1.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.01691, allocations: 0.4946 MB / 288.6 MB, free: 1.238 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.01691, allocations: 8 kB / 288.6 MB, free: 1.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004388/0.01735, allocations: 487.3 kB / 289.1 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.01736, allocations: 16.16 kB / 289.1 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.01737, allocations: 8 kB / 289.1 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.01758, allocations: 88.72 kB / 289.2 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.0179, allocations: 191.7 kB / 289.4 MB, free: 456 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.101/0.1189, allocations: 1.578 MB / 291 MB, free: 28.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.1193, allocations: 82.03 kB / 291 MB, free: 28.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/0.1193, allocations: 28.86 kB / 291.1 MB, free: 28.86 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.0001607/0.1195, allocations: 161.1 kB / 291.2 MB, free: 28.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.1195, allocations: 54.48 kB / 291.3 MB, free: 28.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.1196, allocations: 61.91 kB / 291.3 MB, free: 28.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1196, allocations: 4.297 kB / 291.4 MB, free: 28.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.1196, allocations: 5.188 kB / 291.4 MB, free: 28.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1196, allocations: 2.109 kB / 291.4 MB, free: 28.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.1199, allocations: 323.2 kB / 291.7 MB, free: 28.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1199, allocations: 3.938 kB / 291.7 MB, free: 28.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.1201, allocations: 97.61 kB / 291.8 MB, free: 28.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.1203, allocations: 79.33 kB / 291.8 MB, free: 28.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.1203, allocations: 10.95 kB / 291.9 MB, free: 28.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006852/0.121, allocations: 1.568 MB / 293.4 MB, free: 27.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.121, allocations: 3.938 kB / 293.4 MB, free: 27.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.1214, allocations: 423.1 kB / 293.8 MB, free: 27.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.1214, allocations: 55.02 kB / 293.9 MB, free: 27.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.1215, allocations: 8.453 kB / 293.9 MB, free: 27.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.1216, allocations: 45.98 kB / 294 MB, free: 27.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.1217, allocations: 35.36 kB / 294 MB, free: 27.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1217, allocations: 13.52 kB / 294 MB, free: 27.24 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.1218, allocations: 179.8 kB / 294.2 MB, free: 27.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1218, allocations: 2.219 kB / 294.2 MB, free: 27.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004888/0.1223, allocations: 250 kB / 294.4 MB, free: 27.22 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.157e-05/0.1224, allocations: 94.34 kB / 294.5 MB, free: 27.15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004514/0.1229, allocations: 454.1 kB / 295 MB, free: 27.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/0.1229, allocations: 11.28 kB / 295 MB, free: 27.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.1231, allocations: 268.7 kB / 295.2 MB, free: 26.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1234, allocations: 102.9 kB / 295.3 MB, free: 26.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.1247, allocations: 1.171 MB / 296.5 MB, free: 26.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.1248, allocations: 146.8 kB / 296.6 MB, free: 26.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.125, allocations: 64.62 kB / 296.7 MB, free: 26.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.1252, allocations: 188.4 kB / 296.9 MB, free: 26.13 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1253, allocations: 4 kB / 296.9 MB, free: 26.12 MB / 266.7 MB Notification: Performance of Templates: time 0.01041/0.1357, allocations: 7.222 MB / 304.1 MB, free: 24.11 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7569307261146605]