Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.0009899/0.0009899, allocations: 83.64 kB / 21.43 MB, free: 3.137 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.005218/0.005218, allocations: 164 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8719/0.8719, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.772e-05/1.925e-05, allocations: 2.281 kB / 298.5 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002898/0.002917, allocations: 2.567 MB / 301 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.004007, allocations: 0.6281 MB / 301.6 MB, free: 284 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.00415, allocations: 7.938 kB / 301.7 MB, free: 276 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.0043, allocations: 51.56 kB / 301.7 MB, free: 224 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.004456, allocations: 91.06 kB / 301.8 MB, free: 132 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.004679, allocations: 87.81 kB / 301.9 MB, free: 44 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1199/0.1246, allocations: 361 kB / 302.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.1248, allocations: 98.7 kB / 302.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.125, allocations: 194.2 kB / 302.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.1251, allocations: 113.6 kB / 302.6 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.572e-05/0.1252, allocations: 32.5 kB / 302.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.352e-05/0.1252, allocations: 30.88 kB / 302.7 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.1253, allocations: 69.17 kB / 302.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.74e-05/0.1253, allocations: 112.9 kB / 302.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003131/0.1256, allocations: 368.8 kB / 303.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1256, allocations: 4.312 kB / 303.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1256, allocations: 0 / 303.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1257, allocations: 2 kB / 303.2 MB, free: 13.08 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0005853/0.1262, allocations: 0.5155 MB / 303.7 MB, free: 12.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1263, allocations: 14.08 kB / 303.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.1263, allocations: 64.88 kB / 303.8 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.1264, allocations: 38.58 kB / 303.9 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.1266, allocations: 201.7 kB / 304.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1266, allocations: 18.44 kB / 304.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.1267, allocations: 36.42 kB / 304.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.127, allocations: 302.5 kB / 304.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.127, allocations: 192 / 304.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.127, allocations: 10.94 kB / 304.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.127, allocations: 10.5 kB / 304.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.1272, allocations: 187.6 kB / 304.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009094/0.1282, allocations: 0.9075 MB / 305.5 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.1284, allocations: 165.4 kB / 305.7 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.1285, allocations: 130.2 kB / 305.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.1285, allocations: 3.453 kB / 305.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.1286, allocations: 31.88 kB / 305.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.523e-06/0.1286, allocations: 1.172 kB / 305.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009223/0.1295, allocations: 0.7073 MB / 306.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.1295, allocations: 55 kB / 306.6 MB, free: 11.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1296, allocations: 194.8 kB / 306.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1296, allocations: 30.67 kB / 306.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.1297, allocations: 174.8 kB / 307 MB, free: 10.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.1298, allocations: 92.69 kB / 307.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.1298, allocations: 51.42 kB / 307.1 MB, free: 10.87 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.918e-05/0.1298, allocations: 329.8 kB / 307.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.172e-05/0.1299, allocations: 73.98 kB / 307.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.13, allocations: 99.8 kB / 307.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.1302, allocations: 177.5 kB / 307.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1302, allocations: 7.875 kB / 307.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003546/0.1306, allocations: 313.1 kB / 308.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1306, allocations: 5.469 kB / 308.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1306, allocations: 1.125 kB / 308.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002193/0.1308, allocations: 92.69 kB / 308.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.131, allocations: 44.98 kB / 308.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.1321, allocations: 1.979 MB / 310.2 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.17e-05/0.1322, allocations: 7.5 kB / 310.2 MB, free: 8.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.1322, allocations: 5.5 kB / 310.3 MB, free: 8.531 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.241e-05/0.1323, allocations: 151.1 kB / 310.4 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.1323, allocations: 19.8 kB / 310.4 MB, free: 8.383 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.1323, allocations: 30.55 kB / 310.4 MB, free: 8.363 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1323, allocations: 2.594 kB / 310.4 MB, free: 8.363 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.1323, allocations: 3.484 kB / 310.5 MB, free: 8.363 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1323, allocations: 1.312 kB / 310.5 MB, free: 8.363 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007422/0.1331, allocations: 0.6816 MB / 311.1 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1331, allocations: 0 / 311.1 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.1332, allocations: 35.7 kB / 311.2 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001598/0.1334, allocations: 75.19 kB / 311.2 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.1334, allocations: 6.516 kB / 311.3 MB, free: 7.898 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.1345, allocations: 1.867 MB / 313.1 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1345, allocations: 1.312 kB / 313.1 MB, free: 6.277 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.1349, allocations: 464.5 kB / 313.6 MB, free: 6.012 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.238e-05/0.1349, allocations: 14.3 kB / 313.6 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.1349, allocations: 10.78 kB / 313.6 MB, free: 5.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.135, allocations: 13.36 kB / 313.6 MB, free: 5.992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.1351, allocations: 23.81 kB / 313.6 MB, free: 5.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.1351, allocations: 5.547 kB / 313.6 MB, free: 5.988 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.075e-05/0.1352, allocations: 145.5 kB / 313.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1352, allocations: 0 / 313.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002934/0.1355, allocations: 80.67 kB / 313.9 MB, free: 5.883 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.0004876/0.136, allocations: 0.9926 MB / 314.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000435/0.1364, allocations: 349.2 kB / 315.2 MB, free: 4.895 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1364, allocations: 9.375 kB / 315.2 MB, free: 4.887 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.1366, allocations: 255.8 kB / 315.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.1369, allocations: 39.89 kB / 315.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.139, allocations: 2.715 MB / 318.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.1391, allocations: 161.9 kB / 318.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.511e-05/0.1391, allocations: 21.05 kB / 318.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.675e-05/0.1392, allocations: 81.58 kB / 318.5 MB, free: 2.707 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1392, allocations: 2.188 kB / 318.5 MB, free: 2.707 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.1609, allocations: 6.746 MB / 325.2 MB, free: 268 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.192, allocations: 5.328 kB / 325.2 MB, free: 264 kB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.831984742544591]