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.0009765/0.0009765, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009444/0.0009444, allocations: 161 kB / 24.56 MB, free: 16 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 0.9287/0.9287, allocations: 177.1 MB / 205 MB, free: 5.602 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.493e-06/1.493e-06, allocations: 0 / 273 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.765e-05, allocations: 2.312 kB / 273 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005913/0.005931, allocations: 5.684 MB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.008363, allocations: 1.188 MB / 279.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004118/0.008775, allocations: 23.94 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002721/0.009047, allocations: 174.3 kB / 280.1 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004291/0.009476, allocations: 285.3 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.009844, allocations: 235.5 kB / 280.6 MB, free: 9.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008368/0.01068, allocations: 1.102 MB / 281.7 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.01116, allocations: 383 kB / 282.1 MB, free: 8.355 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006395/0.0118, allocations: 0.6355 MB / 282.7 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005531/0.01235, allocations: 370.9 kB / 283.1 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.01246, allocations: 96 kB / 283.2 MB, free: 7.262 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.01257, allocations: 100 kB / 283.3 MB, free: 7.164 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.01268, allocations: 219.2 kB / 283.5 MB, free: 6.949 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.01296, allocations: 371.1 kB / 283.8 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006591/0.01362, allocations: 0.7161 MB / 284.6 MB, free: 5.867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.01362, allocations: 4 kB / 284.6 MB, free: 5.863 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01362, allocations: 0 / 284.6 MB, free: 5.863 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.61e-05/0.01364, allocations: 0 / 284.6 MB, free: 5.863 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.001243/0.01488, allocations: 1.29 MB / 285.9 MB, free: 4.531 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.01491, allocations: 8.031 kB / 285.9 MB, free: 4.523 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.01509, allocations: 188.3 kB / 286 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.0155, allocations: 399.7 kB / 286.4 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.01554, allocations: 70.38 kB / 286.5 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-05/0.01563, allocations: 100.3 kB / 286.6 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009038/0.01653, allocations: 0.9895 MB / 287.6 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.01655, allocations: 192 / 287.6 MB, free: 2.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/0.0166, allocations: 40.38 kB / 287.6 MB, free: 2.621 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.01662, allocations: 31.94 kB / 287.7 MB, free: 2.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004775/0.01709, allocations: 347.6 kB / 288 MB, free: 2.254 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.11/0.1271, allocations: 2.781 MB / 290.8 MB, free: 25.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.1275, allocations: 217.3 kB / 291 MB, free: 25.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.1277, allocations: 181.9 kB / 291.2 MB, free: 25.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.1277, allocations: 7.062 kB / 291.2 MB, free: 25.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1277, allocations: 41.98 kB / 291.2 MB, free: 25.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.565e-06/0.1277, allocations: 1 kB / 291.2 MB, free: 25.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.001041/0.1288, allocations: 484.9 kB / 291.7 MB, free: 25.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.1288, allocations: 56.88 kB / 291.8 MB, free: 25.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.1292, allocations: 0.5087 MB / 292.3 MB, free: 25.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1292, allocations: 36.58 kB / 292.3 MB, free: 25.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.1294, allocations: 0.5414 MB / 292.8 MB, free: 24.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.283e-05/0.1295, allocations: 169 kB / 293 MB, free: 24.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.1297, allocations: 137.4 kB / 293.1 MB, free: 24.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.1297, allocations: 0.5323 MB / 293.7 MB, free: 24.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.1299, allocations: 98.41 kB / 293.8 MB, free: 24.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.1302, allocations: 0.4904 MB / 294.3 MB, free: 23.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.1307, allocations: 0.6408 MB / 294.9 MB, free: 23.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.1307, allocations: 3.016 kB / 294.9 MB, free: 23.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008948/0.1316, allocations: 0.6534 MB / 295.6 MB, free: 23.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.1316, allocations: 8.562 kB / 295.6 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.1316, allocations: 9.719 kB / 295.6 MB, free: 23.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/0.1319, allocations: 97.45 kB / 295.7 MB, free: 23.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.1324, allocations: 189.8 kB / 295.9 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.1336, allocations: 2.311 MB / 298.2 MB, free: 21.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.1339, allocations: 87.06 kB / 298.2 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.134, allocations: 36.84 kB / 298.3 MB, free: 21 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.0001369/0.1341, allocations: 203.8 kB / 298.5 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/0.1342, allocations: 70.95 kB / 298.6 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.1342, allocations: 60.5 kB / 298.6 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.1342, allocations: 9.547 kB / 298.6 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/0.1343, allocations: 5.25 kB / 298.6 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1343, allocations: 2.062 kB / 298.6 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.1347, allocations: 452 kB / 299.1 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1347, allocations: 0.8438 kB / 299.1 MB, free: 20.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.135, allocations: 97.64 kB / 299.2 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002307/0.1352, allocations: 82.55 kB / 299.2 MB, free: 20.49 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.1352, allocations: 11.77 kB / 299.3 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.1363, allocations: 2.302 MB / 301.6 MB, free: 18.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1363, allocations: 0 / 301.6 MB, free: 18.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006101/0.1369, allocations: 0.5718 MB / 302.1 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.1369, allocations: 58.52 kB / 302.2 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.137, allocations: 10.8 kB / 302.2 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.1372, allocations: 48.88 kB / 302.2 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.1373, allocations: 34.09 kB / 302.3 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.1373, allocations: 14.17 kB / 302.3 MB, free: 17.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002608/0.1376, allocations: 321.3 kB / 302.6 MB, free: 17.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1376, allocations: 5.094 kB / 302.6 MB, free: 17.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007253/0.1383, allocations: 252.7 kB / 302.9 MB, free: 17.74 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.473e-05/0.1384, allocations: 116.6 kB / 303 MB, free: 17.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006784/0.1391, allocations: 0.5507 MB / 303.5 MB, free: 17.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1391, allocations: 1.375 kB / 303.5 MB, free: 17.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003062/0.1394, allocations: 341.5 kB / 303.9 MB, free: 17.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.1399, allocations: 104.5 kB / 304 MB, free: 17.09 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1415, allocations: 1.268 MB / 305.2 MB, free: 16.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.1417, allocations: 147.5 kB / 305.4 MB, free: 16.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001903/0.1418, allocations: 66.86 kB / 305.4 MB, free: 16.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.1419, allocations: 38 kB / 305.5 MB, free: 16.23 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1419, allocations: 0 / 305.5 MB, free: 16.23 MB / 266.7 MB Notification: Performance of Templates: time 0.009989/0.1519, allocations: 7.147 MB / 312.6 MB, free: 12.48 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.782016684766859]