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.001308/0.001308, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001621/0.001621, allocations: 161.9 kB / 24.99 MB, free: 8.336 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 1.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.625 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.934e-06/1.934e-06, allocations: 0 / 273.1 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.9e-05, allocations: 2.312 kB / 273.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006278/0.006306, allocations: 5.656 MB / 278.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.00865, allocations: 1.2 MB / 280 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003777/0.009027, allocations: 19.94 kB / 280 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.009333, allocations: 170.4 kB / 280.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005023/0.009835, allocations: 293.2 kB / 280.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.01031, allocations: 227.6 kB / 280.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.01134, allocations: 1.102 MB / 281.8 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005045/0.01184, allocations: 382.9 kB / 282.1 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006409/0.01249, allocations: 0.6277 MB / 282.8 MB, free: 8.062 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.0129, allocations: 371 kB / 283.1 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.01301, allocations: 100 kB / 283.2 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.01311, allocations: 96 kB / 283.3 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.01323, allocations: 227.1 kB / 283.5 MB, free: 7.285 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002623/0.01349, allocations: 367.1 kB / 283.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006516/0.01414, allocations: 0.72 MB / 284.6 MB, free: 6.203 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.01415, allocations: 0 / 284.6 MB, free: 6.203 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01415, allocations: 4 kB / 284.6 MB, free: 6.199 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.01416, allocations: 3.938 kB / 284.6 MB, free: 6.195 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.001365/0.01553, allocations: 1.283 MB / 285.9 MB, free: 4.871 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.01557, allocations: 12.03 kB / 285.9 MB, free: 4.859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001967/0.01577, allocations: 180.3 kB / 286.1 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.01624, allocations: 407.7 kB / 286.5 MB, free: 4.254 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.01628, allocations: 74.31 kB / 286.6 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.169e-05/0.01637, allocations: 96.38 kB / 286.7 MB, free: 4.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008999/0.01727, allocations: 0.9856 MB / 287.6 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.01729, allocations: 192 / 287.6 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-05/0.01734, allocations: 44.31 kB / 287.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.01736, allocations: 27.94 kB / 287.7 MB, free: 2.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.01786, allocations: 351.7 kB / 288.1 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1189/0.1368, allocations: 2.771 MB / 290.8 MB, free: 28.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.1371, allocations: 218.4 kB / 291 MB, free: 28.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.1373, allocations: 185.2 kB / 291.2 MB, free: 28.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.1374, allocations: 7.281 kB / 291.2 MB, free: 28.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.1374, allocations: 42.27 kB / 291.3 MB, free: 28.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.695e-06/0.1374, allocations: 0 / 291.3 MB, free: 28.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.001021/0.1384, allocations: 490 kB / 291.8 MB, free: 28.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.1384, allocations: 56.22 kB / 291.8 MB, free: 28.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/0.1389, allocations: 0.5149 MB / 292.3 MB, free: 27.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.1389, allocations: 32.61 kB / 292.4 MB, free: 27.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.1391, allocations: 0.5403 MB / 292.9 MB, free: 27.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.257e-05/0.1392, allocations: 166.1 kB / 293.1 MB, free: 27.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.1393, allocations: 139.4 kB / 293.2 MB, free: 27.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.1394, allocations: 0.5343 MB / 293.7 MB, free: 26.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.1396, allocations: 99.11 kB / 293.8 MB, free: 26.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.1398, allocations: 0.4951 MB / 294.3 MB, free: 26.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/0.1403, allocations: 0.6329 MB / 295 MB, free: 25.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.1403, allocations: 4.25 kB / 295 MB, free: 25.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008765/0.1412, allocations: 0.6498 MB / 295.6 MB, free: 25.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.1412, allocations: 9.516 kB / 295.6 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.1412, allocations: 10.25 kB / 295.6 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003738/0.1416, allocations: 102.7 kB / 295.7 MB, free: 25.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.142, allocations: 197.2 kB / 295.9 MB, free: 25.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.1433, allocations: 2.3 MB / 298.2 MB, free: 23.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.1436, allocations: 86.73 kB / 298.3 MB, free: 23.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.1437, allocations: 37 kB / 298.3 MB, free: 23.34 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.0001951/0.1439, allocations: 206.9 kB / 298.5 MB, free: 23.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/0.1439, allocations: 73.03 kB / 298.6 MB, free: 23.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.144, allocations: 60.31 kB / 298.7 MB, free: 23.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.144, allocations: 4.547 kB / 298.7 MB, free: 23.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.144, allocations: 2.766 kB / 298.7 MB, free: 23.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.144, allocations: 1.5 kB / 298.7 MB, free: 23.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005343/0.1445, allocations: 450.9 kB / 299.1 MB, free: 22.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1445, allocations: 0 / 299.1 MB, free: 22.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.1448, allocations: 102.4 kB / 299.2 MB, free: 22.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.145, allocations: 80.61 kB / 299.3 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.1451, allocations: 11.25 kB / 299.3 MB, free: 22.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.1461, allocations: 2.301 MB / 301.6 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1461, allocations: 4.031 kB / 301.6 MB, free: 20.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006294/0.1467, allocations: 0.5705 MB / 302.2 MB, free: 20.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.1468, allocations: 57.95 kB / 302.2 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.1468, allocations: 17.48 kB / 302.3 MB, free: 20.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.147, allocations: 44.88 kB / 302.3 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.1471, allocations: 29.97 kB / 302.3 MB, free: 20.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.1471, allocations: 14.55 kB / 302.3 MB, free: 20.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002419/0.1474, allocations: 322.1 kB / 302.7 MB, free: 20.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1474, allocations: 1.375 kB / 302.7 MB, free: 20.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006829/0.148, allocations: 254.3 kB / 302.9 MB, free: 20.02 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 0.0001355/0.1482, allocations: 110.9 kB / 303 MB, free: 19.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007304/0.1489, allocations: 0.5524 MB / 303.6 MB, free: 19.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.1489, allocations: 5.219 kB / 303.6 MB, free: 19.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.1492, allocations: 335.6 kB / 303.9 MB, free: 19.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.1496, allocations: 109.5 kB / 304 MB, free: 19.37 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.1514, allocations: 1.27 MB / 305.3 MB, free: 18.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.1515, allocations: 148.2 kB / 305.4 MB, free: 18.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000185/0.1517, allocations: 65.89 kB / 305.5 MB, free: 18.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.04e-05/0.1518, allocations: 42.69 kB / 305.5 MB, free: 18.5 MB / 266.7 MB Notification: Performance of SimCode: time 1.813e-06/0.1518, allocations: 0 / 305.5 MB, free: 18.5 MB / 266.7 MB Notification: Performance of Templates: time 0.01055/0.1623, allocations: 6.794 MB / 312.3 MB, free: 14.68 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: 3.2544638849794865]