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.001917/0.001917, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 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.002238/0.002238, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 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.527/1.527, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 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 0.001765/0.001765, allocations: 51.92 kB / 368.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3605, allocations: 52.13 MB / 420.9 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007887/0.3684, allocations: 5.806 MB / 426.7 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002648/0.3711, allocations: 1.161 MB / 427.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003836/0.3715, allocations: 16 kB / 427.9 MB, free: 8.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.3719, allocations: 174.3 kB / 428.1 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006617/0.3726, allocations: 285.4 kB / 428.3 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006888/0.3733, allocations: 219.7 kB / 428.6 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.3746, allocations: 1.064 MB / 429.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007942/0.3754, allocations: 402.5 kB / 430 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.3759, allocations: 410.7 kB / 430.4 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.3765, allocations: 481.8 kB / 430.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.3767, allocations: 96 kB / 431 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.3768, allocations: 100 kB / 431.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.377, allocations: 223.2 kB / 431.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005702/0.3776, allocations: 0.4977 MB / 431.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.3789, allocations: 1.11 MB / 432.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.3789, allocations: 0 / 432.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3789, allocations: 0 / 432.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.3789, allocations: 0 / 432.9 MB, free: 3.211 MB / 334.1 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.002328/0.3813, allocations: 1.27 MB / 434.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.3813, allocations: 8.031 kB / 434.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.3815, allocations: 112.3 kB / 434.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008796/0.3824, allocations: 459.4 kB / 434.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/0.3825, allocations: 74.38 kB / 434.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.3826, allocations: 100.3 kB / 434.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.3842, allocations: 0.8677 MB / 435.8 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.3843, allocations: 0 / 435.8 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.54e-05/0.3843, allocations: 44 kB / 435.8 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.3844, allocations: 28 kB / 435.8 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.3855, allocations: 0.57 MB / 436.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004757/0.3902, allocations: 2.965 MB / 439.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004837/0.3907, allocations: 262.5 kB / 439.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.3911, allocations: 236.7 kB / 439.9 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.3911, allocations: 4 kB / 439.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.3911, allocations: 38.56 kB / 439.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.573e-06/0.3911, allocations: 0 / 439.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001615/0.3928, allocations: 0.6474 MB / 440.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.3928, allocations: 55.41 kB / 440.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006524/0.3935, allocations: 0.5181 MB / 441.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/0.3935, allocations: 37.7 kB / 441.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/0.3939, allocations: 0.4914 MB / 441.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.3941, allocations: 166.6 kB / 441.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.3943, allocations: 134.6 kB / 442 MB, free: 9.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.3944, allocations: 362.8 kB / 442.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.3948, allocations: 173.9 kB / 442.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/0.3953, allocations: 449.6 kB / 442.9 MB, free: 8.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008939/0.3962, allocations: 0.6557 MB / 443.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3962, allocations: 0 / 443.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00128/0.3975, allocations: 0.7613 MB / 444.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3975, allocations: 11.12 kB / 444.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3976, allocations: 8 kB / 444.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000322/0.3979, allocations: 88.75 kB / 444.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/0.3985, allocations: 199.8 kB / 444.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.4007, allocations: 1.998 MB / 446.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.4012, allocations: 87.3 kB / 446.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.4012, allocations: 40 kB / 446.8 MB, free: 4.613 MB / 350.1 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.0003773/0.4016, allocations: 229.4 kB / 447 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.4017, allocations: 55.67 kB / 447 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.4018, allocations: 65.52 kB / 447.1 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.4018, allocations: 7.984 kB / 447.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4018, allocations: 0 / 447.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4018, allocations: 0 / 447.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008035/0.4026, allocations: 0.6415 MB / 447.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4026, allocations: 0 / 447.7 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.403, allocations: 107.9 kB / 447.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/0.4033, allocations: 72.73 kB / 447.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.4033, allocations: 8.281 kB / 447.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.4053, allocations: 1.994 MB / 449.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4053, allocations: 0 / 449.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.4064, allocations: 0.6508 MB / 450.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.4066, allocations: 148.6 kB / 450.7 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.4066, allocations: 12 kB / 450.7 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/0.407, allocations: 43.97 kB / 450.8 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.4072, allocations: 27.95 kB / 450.8 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.4072, allocations: 16 kB / 450.8 MB, free: 316 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004769/0.4077, allocations: 350.8 kB / 451.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4077, allocations: 0 / 451.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008642/0.4085, allocations: 247.4 kB / 451.4 MB, free: 15.73 MB / 366.1 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.0001739/0.4087, allocations: 108 kB / 451.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.4098, allocations: 0.5657 MB / 452.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4098, allocations: 0 / 452.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004873/0.4103, allocations: 306.9 kB / 452.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006914/0.411, allocations: 122.5 kB / 452.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.4137, allocations: 1.416 MB / 453.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005647/0.4143, allocations: 0.9337 MB / 454.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002664/0.4146, allocations: 69.22 kB / 454.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.292e-05/0.4147, allocations: 39.44 kB / 454.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4147, allocations: 0 / 454.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of Templates: time 0.01465/0.4293, allocations: 7.554 MB / 462.5 MB, free: 4.602 MB / 366.1 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: 5.3898262633010745]