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.0009835/0.0009835, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001503/0.001503, allocations: 165.6 kB / 24.82 MB, free: 8.875 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.058/1.058, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.233e-06/1.233e-06, allocations: 0 / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.159e-05, allocations: 2.312 kB / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005601/0.005622, allocations: 5.562 MB / 279 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.007852, allocations: 1.2 MB / 280.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004268/0.008278, allocations: 23.94 kB / 280.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.008611, allocations: 170.3 kB / 280.4 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005092/0.009121, allocations: 297.2 kB / 280.7 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.009549, allocations: 227.7 kB / 280.9 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000997/0.01055, allocations: 1.102 MB / 282 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005045/0.01105, allocations: 379 kB / 282.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006594/0.01171, allocations: 0.6316 MB / 283 MB, free: 7.602 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004459/0.01216, allocations: 378.9 kB / 283.4 MB, free: 7.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.01227, allocations: 96 kB / 283.5 MB, free: 7.137 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.01241, allocations: 100 kB / 283.6 MB, free: 7.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.01254, allocations: 219.2 kB / 283.8 MB, free: 6.824 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.01283, allocations: 371.1 kB / 284.2 MB, free: 6.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007479/0.01358, allocations: 0.7239 MB / 284.9 MB, free: 5.734 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.01359, allocations: 0 / 284.9 MB, free: 5.734 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01359, allocations: 0 / 284.9 MB, free: 5.734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.0136, allocations: 0 / 284.9 MB, free: 5.734 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.001382/0.01498, allocations: 1.29 MB / 286.2 MB, free: 4.402 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.01502, allocations: 8.031 kB / 286.2 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.0152, allocations: 184.3 kB / 286.4 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.01565, allocations: 403.6 kB / 286.8 MB, free: 3.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/0.0157, allocations: 70.38 kB / 286.8 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.0158, allocations: 100.4 kB / 286.9 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008236/0.01662, allocations: 0.9346 MB / 287.9 MB, free: 2.586 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.01664, allocations: 4.188 kB / 287.9 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/0.0167, allocations: 36.38 kB / 287.9 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.01672, allocations: 27.94 kB / 287.9 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.01708, allocations: 273.7 kB / 288.2 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1162/0.1333, allocations: 2.802 MB / 291 MB, free: 25.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1336, allocations: 194.8 kB / 291.2 MB, free: 25.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.1337, allocations: 166.6 kB / 291.3 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.1338, allocations: 7.719 kB / 291.4 MB, free: 25.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1338, allocations: 45.75 kB / 291.4 MB, free: 25.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 3.387e-06/0.1338, allocations: 0.5312 kB / 291.4 MB, free: 25.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008081/0.1346, allocations: 438.5 kB / 291.8 MB, free: 25.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.694e-05/0.1346, allocations: 56.41 kB / 291.9 MB, free: 25.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.1349, allocations: 0.5014 MB / 292.4 MB, free: 25.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.135, allocations: 32.7 kB / 292.4 MB, free: 24.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.1352, allocations: 0.5509 MB / 293 MB, free: 24.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.1352, allocations: 163.3 kB / 293.1 MB, free: 24.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.1353, allocations: 143.5 kB / 293.3 MB, free: 24.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.1354, allocations: 0.5359 MB / 293.8 MB, free: 24.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.1355, allocations: 76.41 kB / 293.9 MB, free: 24.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.1357, allocations: 485.9 kB / 294.4 MB, free: 23.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.1361, allocations: 0.6063 MB / 295 MB, free: 23.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.1361, allocations: 6.125 kB / 295 MB, free: 23.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007869/0.1369, allocations: 0.5974 MB / 295.6 MB, free: 22.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.1369, allocations: 9.156 kB / 295.6 MB, free: 22.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.1369, allocations: 8.719 kB / 295.6 MB, free: 22.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003194/0.1373, allocations: 92.28 kB / 295.7 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.1377, allocations: 192.9 kB / 295.9 MB, free: 22.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.1387, allocations: 2.262 MB / 298.1 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.139, allocations: 90.06 kB / 298.2 MB, free: 20.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.139, allocations: 28.33 kB / 298.2 MB, free: 20.95 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.0001384/0.1392, allocations: 206.3 kB / 298.4 MB, free: 20.77 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/0.1392, allocations: 68.58 kB / 298.5 MB, free: 20.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.1393, allocations: 62 kB / 298.6 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1393, allocations: 9.062 kB / 298.6 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.1393, allocations: 1.75 kB / 298.6 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1393, allocations: 7.125 kB / 298.6 MB, free: 20.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.1397, allocations: 363.5 kB / 298.9 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.1397, allocations: 0 / 298.9 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.1399, allocations: 97.5 kB / 299 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001908/0.1401, allocations: 83.31 kB / 299.1 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.1401, allocations: 9.359 kB / 299.1 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008458/0.141, allocations: 2.259 MB / 301.4 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.141, allocations: 1.469 kB / 301.4 MB, free: 18.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.1415, allocations: 0.5279 MB / 301.9 MB, free: 18.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.1415, allocations: 57.31 kB / 302 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.1416, allocations: 9.469 kB / 302 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.1418, allocations: 49.42 kB / 302 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.1418, allocations: 28.72 kB / 302.1 MB, free: 18.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.1418, allocations: 10.41 kB / 302.1 MB, free: 18.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002051/0.142, allocations: 303.4 kB / 302.4 MB, free: 18.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.142, allocations: 3.938 kB / 302.4 MB, free: 18.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006273/0.1427, allocations: 257.8 kB / 302.6 MB, free: 18.14 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.0001035/0.1428, allocations: 107.6 kB / 302.7 MB, free: 18.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005449/0.1433, allocations: 0.5178 MB / 303.2 MB, free: 17.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1433, allocations: 1.938 kB / 303.2 MB, free: 17.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.1436, allocations: 330.9 kB / 303.6 MB, free: 17.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.1439, allocations: 102.4 kB / 303.7 MB, free: 17.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.1456, allocations: 1.255 MB / 304.9 MB, free: 16.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.1457, allocations: 151.7 kB / 305.1 MB, free: 16.78 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.1459, allocations: 70.88 kB / 305.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.1462, allocations: 215.3 kB / 305.3 MB, free: 16.69 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1462, allocations: 0 / 305.3 MB, free: 16.69 MB / 266.7 MB Notification: Performance of Templates: time 0.01033/0.1565, allocations: 7.274 MB / 312.6 MB, free: 12.99 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.008928759023547]