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.001828/0.001828, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.0024/0.0024, allocations: 214.9 kB / 23.75 MB, free: 4.672 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.382/1.382, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.001874/0.001874, allocations: 63.91 kB / 377.8 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2803, allocations: 53.41 MB / 431.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.01073/0.291, allocations: 5.805 MB / 437 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.2944, allocations: 1.211 MB / 438.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005286/0.295, allocations: 23.94 kB / 438.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005299/0.2955, allocations: 174.3 kB / 438.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008861/0.2964, allocations: 281.4 kB / 438.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006913/0.2971, allocations: 219.7 kB / 438.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00169/0.2988, allocations: 1.064 MB / 440 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009465/0.2997, allocations: 402.9 kB / 440.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006905/0.3004, allocations: 426.6 kB / 440.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009495/0.3013, allocations: 485.9 kB / 441.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.3015, allocations: 100 kB / 441.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002335/0.3018, allocations: 96 kB / 441.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.302, allocations: 211.3 kB / 441.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006982/0.3027, allocations: 0.5092 MB / 442.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.3045, allocations: 1.101 MB / 443.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3045, allocations: 0 / 443.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3045, allocations: 4 kB / 443.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.3045, allocations: 3.938 kB / 443.3 MB, free: 10.52 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.003108/0.3076, allocations: 1.187 MB / 444.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.3077, allocations: 8.031 kB / 444.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002571/0.3079, allocations: 148.1 kB / 444.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.3082, allocations: 108.3 kB / 444.7 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.3092, allocations: 405.5 kB / 445.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.038e-05/0.3093, allocations: 74.38 kB / 445.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.3095, allocations: 88.38 kB / 445.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.3117, allocations: 0.8754 MB / 446.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.3117, allocations: 4 kB / 446.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/0.3118, allocations: 40 kB / 446.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/0.3119, allocations: 24 kB / 446.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.3136, allocations: 0.57 MB / 446.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006994/0.3206, allocations: 2.876 MB / 449.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000675/0.3213, allocations: 265 kB / 449.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/0.3219, allocations: 233.3 kB / 450.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.3219, allocations: 4 kB / 450.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.3219, allocations: 46.5 kB / 450.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 3.347e-06/0.3219, allocations: 0 / 450.2 MB, free: 3.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.002236/0.3242, allocations: 0.5721 MB / 450.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.3242, allocations: 63.34 kB / 450.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006354/0.3249, allocations: 0.5143 MB / 451.4 MB, free: 2.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.3249, allocations: 29.7 kB / 451.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.3253, allocations: 0.4914 MB / 451.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3254, allocations: 166.6 kB / 452.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.3256, allocations: 134.6 kB / 452.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3258, allocations: 366.8 kB / 452.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003087/0.3261, allocations: 177.9 kB / 452.7 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005359/0.3266, allocations: 449.5 kB / 453.2 MB, free: 260 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009029/0.3275, allocations: 0.6509 MB / 453.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.3275, allocations: 4 kB / 453.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001321/0.3288, allocations: 0.752 MB / 454.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3289, allocations: 8 kB / 454.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.3289, allocations: 12 kB / 454.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.3292, allocations: 88.88 kB / 454.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.3299, allocations: 195.7 kB / 454.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.332, allocations: 1.895 MB / 456.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.3325, allocations: 95.36 kB / 456.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.3326, allocations: 39.94 kB / 456.9 MB, free: 12.26 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.000294/0.3329, allocations: 205.6 kB / 457.1 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.333, allocations: 63.62 kB / 457.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.3331, allocations: 65.5 kB / 457.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3331, allocations: 4 kB / 457.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.3331, allocations: 4 kB / 457.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.3331, allocations: 3.984 kB / 457.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008343/0.3339, allocations: 0.6248 MB / 457.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3339, allocations: 4 kB / 457.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.3344, allocations: 99.86 kB / 458 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002063/0.3346, allocations: 73.02 kB / 458 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.3346, allocations: 8 kB / 458 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.3365, allocations: 1.875 MB / 459.9 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3365, allocations: 0 / 459.9 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3375, allocations: 0.6664 MB / 460.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.3377, allocations: 59.61 kB / 460.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.947e-05/0.3377, allocations: 4 kB / 460.6 MB, free: 8.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000387/0.3381, allocations: 47.97 kB / 460.7 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.3382, allocations: 31.94 kB / 460.7 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.3382, allocations: 12 kB / 460.7 MB, free: 8.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004069/0.3386, allocations: 346.9 kB / 461.1 MB, free: 7.906 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3386, allocations: 0 / 461.1 MB, free: 7.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007541/0.3394, allocations: 243.5 kB / 461.3 MB, free: 7.668 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.001376/0.3407, allocations: 1.222 MB / 462.5 MB, free: 6.414 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3418, allocations: 0.5614 MB / 463.1 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3418, allocations: 0 / 463.1 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004916/0.3422, allocations: 319 kB / 463.4 MB, free: 5.516 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.3428, allocations: 114.5 kB / 463.5 MB, free: 5.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007851/0.3507, allocations: 5.494 MB / 469 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006172/0.3513, allocations: 0.9297 MB / 469.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002697/0.3516, allocations: 73.2 kB / 470 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003297/0.3519, allocations: 263.4 kB / 470.3 MB, free: 14.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3519, allocations: 0 / 470.3 MB, free: 14.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05378/0.4057, allocations: 13.42 MB / 483.7 MB, free: 1.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.33, allocations: 7.984 kB / 483.7 MB, free: 1.035 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.997807456998999]