Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.001448/0.001448, 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.001782/0.001782, allocations: 207.3 kB / 23.72 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.512/1.512, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.89 kB / 377.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2572, allocations: 53.4 MB / 431.2 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006751/0.264, allocations: 5.093 MB / 436.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.2663, allocations: 1.172 MB / 437.5 MB, free: 132 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003647/0.2666, allocations: 19.94 kB / 437.5 MB, free: 112 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.267, allocations: 174.5 kB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005245/0.2676, allocations: 277.4 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.268, allocations: 227.7 kB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.2691, allocations: 1.063 MB / 439.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006017/0.2697, allocations: 376.6 kB / 439.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.2701, allocations: 426.6 kB / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/0.2707, allocations: 405.9 kB / 440.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.2708, allocations: 100 kB / 440.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.271, allocations: 96 kB / 440.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.2712, allocations: 223.2 kB / 440.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.2716, allocations: 426.2 kB / 441.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.2728, allocations: 1.12 MB / 442.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2728, allocations: 0 / 442.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2728, allocations: 0 / 442.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.2728, allocations: 0 / 442.3 MB, free: 11.21 MB / 350.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.002233/0.275, allocations: 1.191 MB / 443.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.2751, allocations: 11.98 kB / 443.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001882/0.2753, allocations: 144.1 kB / 443.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.2755, allocations: 112.3 kB / 443.8 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007868/0.2763, allocations: 401.5 kB / 444.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.015e-05/0.2764, allocations: 78.38 kB / 444.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.2765, allocations: 92.38 kB / 444.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.278, allocations: 1.148 MB / 445.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.278, allocations: 0 / 445.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/0.2781, allocations: 40 kB / 445.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.2781, allocations: 27.94 kB / 445.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009879/0.2791, allocations: 0.57 MB / 446.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/0.2833, allocations: 2.662 MB / 448.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.2837, allocations: 270.9 kB / 449.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.2841, allocations: 229.2 kB / 449.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.2841, allocations: 11.94 kB / 449.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.2841, allocations: 42.55 kB / 449.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.214e-06/0.2841, allocations: 0 / 449.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00141/0.2855, allocations: 0.5731 MB / 449.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.2856, allocations: 59.34 kB / 450 MB, free: 3.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005786/0.2862, allocations: 0.5297 MB / 450.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.2862, allocations: 37.7 kB / 450.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.2865, allocations: 0.4914 MB / 451 MB, free: 2.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.2866, allocations: 166.6 kB / 451.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.2868, allocations: 134.6 kB / 451.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.287, allocations: 362.8 kB / 451.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.2873, allocations: 177.9 kB / 451.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004972/0.2878, allocations: 453.5 kB / 452.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/0.2886, allocations: 0.6468 MB / 452.9 MB, free: 4 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.2886, allocations: 4 kB / 452.9 MB, free: 0 / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001215/0.2898, allocations: 0.7635 MB / 453.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2898, allocations: 8 kB / 453.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2898, allocations: 8 kB / 453.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/0.2901, allocations: 85.16 kB / 453.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/0.2908, allocations: 195.7 kB / 454 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.2927, allocations: 1.887 MB / 455.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.2932, allocations: 87.3 kB / 456 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.2932, allocations: 35.94 kB / 456 MB, free: 12.81 MB / 366.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.0002666/0.2935, allocations: 213.6 kB / 456.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/0.2936, allocations: 59.62 kB / 456.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.2937, allocations: 69.44 kB / 456.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2937, allocations: 4 kB / 456.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2937, allocations: 4.062 kB / 456.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2937, allocations: 3.984 kB / 456.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007232/0.2945, allocations: 0.5587 MB / 456.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2945, allocations: 4 kB / 456.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.2949, allocations: 99.92 kB / 457 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001964/0.295, allocations: 72.73 kB / 457.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.2951, allocations: 8 kB / 457.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.2971, allocations: 1.864 MB / 458.9 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2971, allocations: 3.938 kB / 459 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000982/0.298, allocations: 0.6611 MB / 459.6 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.2982, allocations: 59.61 kB / 459.7 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.2982, allocations: 12 kB / 459.7 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000396/0.2986, allocations: 43.97 kB / 459.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.422e-05/0.2987, allocations: 31.92 kB / 459.8 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.2987, allocations: 12 kB / 459.8 MB, free: 8.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004298/0.2992, allocations: 346.9 kB / 460.1 MB, free: 8.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2992, allocations: 0 / 460.1 MB, free: 8.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008/0.3, allocations: 247.4 kB / 460.3 MB, free: 8.273 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.001386/0.3013, allocations: 1.222 MB / 461.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.3024, allocations: 0.5529 MB / 462.1 MB, free: 6.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.3024, allocations: 4 kB / 462.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005467/0.303, allocations: 306.3 kB / 462.4 MB, free: 6.141 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.3035, allocations: 122.4 kB / 462.5 MB, free: 6.027 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00771/0.3112, allocations: 5.49 MB / 468 MB, free: 196 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3116, allocations: 332 kB / 468.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002972/0.3119, allocations: 73.2 kB / 468.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/0.3123, allocations: 263.5 kB / 468.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.853e-06/0.3123, allocations: 3.938 kB / 468.7 MB, free: 15.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06884/0.3811, allocations: 14.14 MB / 482.8 MB, free: 1.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.19, allocations: 11.31 kB / 482.8 MB, free: 1.598 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_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_CauerLowPassOPV.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 14.817796111106873]