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.001701/0.001701, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001371/0.001371, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.439/1.439, allocations: 230.4 MB / 254 MB, free: 15.03 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.002646/0.002646, allocations: 63.91 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1112, allocations: 53.37 MB / 426.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005023/0.1162, allocations: 2.829 MB / 429.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1176, allocations: 0.6622 MB / 429.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002156/0.1179, allocations: 11.94 kB / 429.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.118, allocations: 47.5 kB / 429.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.1183, allocations: 91.19 kB / 430 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.1185, allocations: 67.91 kB / 430.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003929/0.1189, allocations: 358.9 kB / 430.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000243/0.1191, allocations: 111.4 kB / 430.5 MB, free: 420 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.1193, allocations: 131.6 kB / 430.7 MB, free: 288 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.1195, allocations: 151.3 kB / 430.8 MB, free: 136 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.1195, allocations: 32 kB / 430.8 MB, free: 104 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.175e-05/0.1196, allocations: 32 kB / 430.9 MB, free: 72 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.1196, allocations: 71.75 kB / 430.9 MB, free: 0 / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.207/0.3266, allocations: 152.2 kB / 431.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004991/0.3271, allocations: 360.7 kB / 431.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3271, allocations: 0 / 431.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3271, allocations: 0.9375 kB / 431.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/0.3271, allocations: 1.5 kB / 431.4 MB, free: 7.93 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008321/0.328, allocations: 0.5951 MB / 432 MB, free: 7.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.328, allocations: 13.03 kB / 432.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.015e-05/0.3281, allocations: 63.72 kB / 432.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.3281, allocations: 34.81 kB / 432.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/0.3284, allocations: 259.2 kB / 432.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.3284, allocations: 23.5 kB / 432.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.3285, allocations: 26.72 kB / 432.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004159/0.3289, allocations: 255.9 kB / 432.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3289, allocations: 0 / 432.7 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.3289, allocations: 17.75 kB / 432.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3289, allocations: 7.75 kB / 432.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.3293, allocations: 183.6 kB / 432.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.3305, allocations: 1.017 MB / 433.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.3308, allocations: 322.3 kB / 434.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.331, allocations: 128.6 kB / 434.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.3311, allocations: 2.281 kB / 434.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.3311, allocations: 35.47 kB / 434.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.3311, allocations: 0.9375 kB / 434.4 MB, free: 6.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001323/0.3324, allocations: 0.7741 MB / 435.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.3324, allocations: 53.56 kB / 435.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.3326, allocations: 194.3 kB / 435.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3326, allocations: 32.39 kB / 435.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.3327, allocations: 168.7 kB / 435.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.3327, allocations: 94.53 kB / 435.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.116e-05/0.3328, allocations: 57.02 kB / 435.8 MB, free: 5.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.3328, allocations: 336.1 kB / 436.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.333, allocations: 72.98 kB / 436.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.3331, allocations: 97.81 kB / 436.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.3334, allocations: 178.1 kB / 436.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3334, allocations: 1.375 kB / 436.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005122/0.3339, allocations: 315.1 kB / 436.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3339, allocations: 6.234 kB / 436.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.3339, allocations: 0.625 kB / 436.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/0.3342, allocations: 86.25 kB / 436.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.3344, allocations: 49 kB / 436.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.3361, allocations: 2.095 MB / 439 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3362, allocations: 15.52 kB / 439 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.3362, allocations: 6.656 kB / 439 MB, free: 3.68 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.0001161/0.3363, allocations: 140.8 kB / 439.1 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.3364, allocations: 25.89 kB / 439.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.3364, allocations: 27.98 kB / 439.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3364, allocations: 2.781 kB / 439.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3364, allocations: 1.281 kB / 439.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.3364, allocations: 5.25 kB / 439.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009842/0.3374, allocations: 0.7344 MB / 439.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3374, allocations: 0 / 439.9 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.3376, allocations: 44.06 kB / 440 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.3378, allocations: 72.92 kB / 440 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3378, allocations: 6.141 kB / 440.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.3392, allocations: 1.991 MB / 442 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3392, allocations: 1.062 kB / 442 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.3398, allocations: 470.4 kB / 442.5 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.3398, allocations: 99.2 kB / 442.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.3398, allocations: 10.97 kB / 442.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.34, allocations: 13.58 kB / 442.6 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.235e-05/0.3401, allocations: 20.89 kB / 442.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.3401, allocations: 10.17 kB / 442.7 MB, free: 0.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.3402, allocations: 141.3 kB / 442.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3402, allocations: 1.125 kB / 442.8 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004194/0.3406, allocations: 74.66 kB / 442.9 MB, free: 0.7305 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.0008183/0.3414, allocations: 0.998 MB / 443.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006751/0.3421, allocations: 353.4 kB / 444.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3421, allocations: 4.062 kB / 444.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004294/0.3425, allocations: 253.8 kB / 444.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3429, allocations: 38.14 kB / 444.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/0.3468, allocations: 2.829 MB / 447.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.3472, allocations: 0.7702 MB / 448.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.958e-05/0.3473, allocations: 19.8 kB / 448.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.3475, allocations: 81.02 kB / 448.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3475, allocations: 0 / 448.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.3821, allocations: 5.839 MB / 454 MB, free: 12.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.546/9.928, allocations: 9.109 kB / 454 MB, free: 12.17 MB / 366.1 MB " [Timeout remaining time 650] (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: 12.44626902602613]