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.001894/0.001894, allocations: 88.62 kB / 20.96 MB, free: 3.477 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.002114/0.002114, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 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 1.494/1.494, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.684e-06/1.684e-06, allocations: 0 / 267.4 MB, free: 6.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.637e-05, allocations: 6.312 kB / 267.4 MB, free: 6.672 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007825/0.007862, allocations: 5.068 MB / 272.4 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.01053, allocations: 1.149 MB / 273.6 MB, free: 428 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003793/0.01091, allocations: 19.94 kB / 273.6 MB, free: 408 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.01131, allocations: 174.3 kB / 273.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006867/0.01199, allocations: 301.2 kB / 274.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007471/0.01274, allocations: 215.7 kB / 274.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.01408, allocations: 1.102 MB / 275.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006481/0.01473, allocations: 387 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008305/0.01556, allocations: 0.6355 MB / 276.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005403/0.0161, allocations: 334.9 kB / 276.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.01626, allocations: 96 kB / 276.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.01644, allocations: 103.9 kB / 276.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.01666, allocations: 223.2 kB / 277.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004393/0.0171, allocations: 371.1 kB / 277.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.01847, allocations: 1.125 MB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.01847, allocations: 0 / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01847, allocations: 0 / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.01849, allocations: 0 / 278.6 MB, free: 11.34 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.002248/0.02074, allocations: 1.179 MB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.02078, allocations: 8.922 kB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.0211, allocations: 188.3 kB / 280 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007767/0.02187, allocations: 400.8 kB / 280.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.568e-05/0.02195, allocations: 70.38 kB / 280.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.02211, allocations: 108.3 kB / 280.6 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.02417, allocations: 1.148 MB / 281.7 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.02419, allocations: 192 / 281.7 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.02429, allocations: 40.38 kB / 281.8 MB, free: 8.059 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.02432, allocations: 27.94 kB / 281.8 MB, free: 8.031 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.02546, allocations: 0.5661 MB / 282.3 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00459/0.03005, allocations: 2.593 MB / 284.9 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.03054, allocations: 258.3 kB / 285.2 MB, free: 4.508 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/0.03094, allocations: 225.3 kB / 285.4 MB, free: 4.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.03096, allocations: 4 kB / 285.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.03101, allocations: 42.5 kB / 285.5 MB, free: 4.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.713e-06/0.03101, allocations: 0 / 285.5 MB, free: 4.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.001655/0.03266, allocations: 0.5917 MB / 286.1 MB, free: 3.629 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.03271, allocations: 55.41 kB / 286.1 MB, free: 3.562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.03339, allocations: 0.4937 MB / 286.6 MB, free: 3.059 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.03344, allocations: 37.7 kB / 286.6 MB, free: 3.016 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.03388, allocations: 0.4952 MB / 287.1 MB, free: 2.512 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.03403, allocations: 162.6 kB / 287.3 MB, free: 2.352 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/0.03426, allocations: 142.5 kB / 287.4 MB, free: 2.207 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002366/0.03449, allocations: 370.7 kB / 287.8 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.03484, allocations: 165.9 kB / 288 MB, free: 1.672 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00085/0.03569, allocations: 453.5 kB / 288.4 MB, free: 1.102 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.03669, allocations: 0.6508 MB / 289 MB, free: 332 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.03669, allocations: 0 / 289 MB, free: 332 kB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.113/0.1497, allocations: 0.7821 MB / 289.8 MB, free: 32.05 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.1497, allocations: 8.734 kB / 289.8 MB, free: 32.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.1497, allocations: 10.12 kB / 289.8 MB, free: 32.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004434/0.1502, allocations: 102.2 kB / 289.9 MB, free: 32.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/0.1508, allocations: 197.8 kB / 290.1 MB, free: 32.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.1524, allocations: 1.87 MB / 292 MB, free: 30.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007699/0.1532, allocations: 82.98 kB / 292.1 MB, free: 30.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.592e-05/0.1533, allocations: 34.47 kB / 292.1 MB, free: 30.71 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.0003634/0.1536, allocations: 215.6 kB / 292.3 MB, free: 30.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.1538, allocations: 68.52 kB / 292.4 MB, free: 30.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.1539, allocations: 63.8 kB / 292.5 MB, free: 30.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.1539, allocations: 8.438 kB / 292.5 MB, free: 30.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.1539, allocations: 5.094 kB / 292.5 MB, free: 30.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.1539, allocations: 2.297 kB / 292.5 MB, free: 30.56 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000851/0.1548, allocations: 460.2 kB / 292.9 MB, free: 30.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.1548, allocations: 10.11 kB / 292.9 MB, free: 30.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/0.1554, allocations: 99.59 kB / 293 MB, free: 30.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004996/0.1559, allocations: 94 kB / 293.1 MB, free: 30.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.156, allocations: 7.812 kB / 293.1 MB, free: 30.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/0.1582, allocations: 1.854 MB / 295 MB, free: 28.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1582, allocations: 0.5156 kB / 295 MB, free: 28.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.1596, allocations: 0.6622 MB / 295.7 MB, free: 28.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.1597, allocations: 60.33 kB / 295.7 MB, free: 28.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.012e-05/0.1598, allocations: 11.19 kB / 295.7 MB, free: 28.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006084/0.1604, allocations: 47.86 kB / 295.8 MB, free: 28.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.1605, allocations: 35.94 kB / 295.8 MB, free: 28.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.1606, allocations: 13.08 kB / 295.8 MB, free: 28.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005108/0.1611, allocations: 325 kB / 296.1 MB, free: 28.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1611, allocations: 3.938 kB / 296.1 MB, free: 28.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001402/0.1625, allocations: 249.5 kB / 296.4 MB, free: 28.07 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.0001629/0.1626, allocations: 112.6 kB / 296.5 MB, free: 27.97 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/0.164, allocations: 0.5595 MB / 297.1 MB, free: 27.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.164, allocations: 1.5 kB / 297.1 MB, free: 27.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006072/0.1646, allocations: 307 kB / 297.4 MB, free: 27.53 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.1655, allocations: 99.88 kB / 297.5 MB, free: 27.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.1683, allocations: 1.313 MB / 298.8 MB, free: 26.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.1688, allocations: 334.4 kB / 299.1 MB, free: 26.62 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003615/0.1692, allocations: 63.16 kB / 299.2 MB, free: 26.6 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.1693, allocations: 38.94 kB / 299.2 MB, free: 26.59 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1693, allocations: 4 kB / 299.2 MB, free: 26.59 MB / 266.7 MB Notification: Performance of Templates: time 0.01947/0.1888, allocations: 6.752 MB / 305.9 MB, free: 24.09 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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: 4.62196767993737]