Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 207.9 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 68.06 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2828, allocations: 53.41 MB / 431.2 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004189/0.287, allocations: 2.634 MB / 433.8 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2883, allocations: 0.6231 MB / 434.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.2884, allocations: 8 kB / 434.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.2886, allocations: 51.5 kB / 434.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.2888, allocations: 95.17 kB / 434.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.289, allocations: 67.91 kB / 434.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003921/0.2894, allocations: 350.9 kB / 435 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.2896, allocations: 105.5 kB / 435.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.2898, allocations: 139.5 kB / 435.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.29, allocations: 123.4 kB / 435.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.726e-05/0.2901, allocations: 36 kB / 435.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.796e-05/0.2901, allocations: 32 kB / 435.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.78e-05/0.2902, allocations: 67.77 kB / 435.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.2903, allocations: 139.4 kB / 435.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.2907, allocations: 358.5 kB / 435.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.2907, allocations: 0 / 435.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2907, allocations: 0 / 435.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.2908, allocations: 3.938 kB / 436 MB, free: 1.762 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009281/0.2917, allocations: 0.5248 MB / 436.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2917, allocations: 15.98 kB / 436.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.083e-05/0.2918, allocations: 66.72 kB / 436.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.2919, allocations: 32.75 kB / 436.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.2922, allocations: 202.7 kB / 436.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.2922, allocations: 21.03 kB / 436.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.2923, allocations: 36.38 kB / 436.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.2928, allocations: 305.6 kB / 437.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2928, allocations: 0 / 437.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.2928, allocations: 12 kB / 437.2 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.2928, allocations: 8 kB / 437.2 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.2932, allocations: 182.5 kB / 437.3 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.2947, allocations: 0.913 MB / 438.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.2951, allocations: 166.1 kB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.2953, allocations: 135.5 kB / 438.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.2953, allocations: 4 kB / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.2954, allocations: 30.56 kB / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.2954, allocations: 0 / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001475/0.2968, allocations: 0.7045 MB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.2969, allocations: 55.41 kB / 439.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.2971, allocations: 199.1 kB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.2971, allocations: 29.7 kB / 439.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.2973, allocations: 180.5 kB / 439.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.645e-05/0.2973, allocations: 91.22 kB / 439.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.19e-05/0.2974, allocations: 49.94 kB / 439.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.2976, allocations: 334.8 kB / 440.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.2978, allocations: 76.53 kB / 440.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.2979, allocations: 99.3 kB / 440.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.2982, allocations: 177.6 kB / 440.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2982, allocations: 4 kB / 440.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005742/0.2988, allocations: 310.2 kB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2988, allocations: 4 kB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2988, allocations: 4 kB / 440.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002893/0.2991, allocations: 88.8 kB / 441 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.2993, allocations: 47.86 kB / 441 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/0.3017, allocations: 1.977 MB / 443 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.3019, allocations: 11.97 kB / 443 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.3019, allocations: 8 kB / 443 MB, free: 10.33 MB / 350.1 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 0.0001599/0.302, allocations: 137.8 kB / 443.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.3021, allocations: 27.95 kB / 443.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.3021, allocations: 25.97 kB / 443.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3021, allocations: 0 / 443.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.3022, allocations: 4 kB / 443.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.3022, allocations: 7.922 kB / 443.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.3034, allocations: 0.6738 MB / 443.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3034, allocations: 0 / 443.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.3036, allocations: 47.97 kB / 443.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001933/0.3038, allocations: 72.75 kB / 444 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.3038, allocations: 11.98 kB / 444 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.3057, allocations: 1.872 MB / 445.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3057, allocations: 0 / 445.9 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006491/0.3063, allocations: 463.9 kB / 446.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.3064, allocations: 19.84 kB / 446.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.3064, allocations: 8.062 kB / 446.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.3066, allocations: 12.06 kB / 446.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.3066, allocations: 23.95 kB / 446.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3066, allocations: 4 kB / 446.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.3067, allocations: 143.2 kB / 446.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3067, allocations: 0 / 446.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004168/0.3072, allocations: 80 kB / 446.6 MB, free: 6.523 MB / 350.1 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.001011/0.3082, allocations: 1.002 MB / 447.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006634/0.3088, allocations: 350.4 kB / 448 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3088, allocations: 0 / 448 MB, free: 5.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.3093, allocations: 258.5 kB / 448.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.3096, allocations: 36.23 kB / 448.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/0.3134, allocations: 2.814 MB / 451.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/0.3136, allocations: 166.7 kB / 451.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.858e-05/0.3136, allocations: 18.3 kB / 451.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.3138, allocations: 83.41 kB / 451.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3138, allocations: 0 / 451.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03749/0.3513, allocations: 6.617 MB / 457.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.92, allocations: 4 kB / 457.9 MB, free: 11.18 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119904 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 14.633128087036312]