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.0009431/0.0009431, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009693/0.0009693, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.873/0.873, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.313e-06/1.313e-06, allocations: 0 / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.221e-05, allocations: 2.281 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.003873/0.003886, allocations: 5.107 MB / 329.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.005591, allocations: 1.176 MB / 330.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.005887, allocations: 19.94 kB / 330.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.006152, allocations: 174.3 kB / 331 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003843/0.006536, allocations: 297.2 kB / 331.3 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.006888, allocations: 223.7 kB / 331.5 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007678/0.007656, allocations: 1.11 MB / 332.7 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004174/0.008073, allocations: 379 kB / 333 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005118/0.008585, allocations: 0.6277 MB / 333.7 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003106/0.008896, allocations: 338.9 kB / 334 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.315e-05/0.008989, allocations: 100 kB / 334.1 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.052e-05/0.009079, allocations: 96 kB / 334.2 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.009183, allocations: 227.2 kB / 334.4 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.009398, allocations: 367.1 kB / 334.8 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006632/0.01006, allocations: 1.121 MB / 335.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.01006, allocations: 0 / 335.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01006, allocations: 0 / 335.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.01008, allocations: 0 / 335.9 MB, free: 4.469 MB / 298.7 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.001299/0.01138, allocations: 1.187 MB / 337.1 MB, free: 3.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.01143, allocations: 15.98 kB / 337.1 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.01154, allocations: 140.1 kB / 337.2 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.01166, allocations: 116.3 kB / 337.3 MB, free: 2.977 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.01215, allocations: 392.9 kB / 337.7 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.01219, allocations: 74.31 kB / 337.8 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.595e-05/0.01228, allocations: 92.38 kB / 337.9 MB, free: 2.398 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009896/0.01327, allocations: 1.148 MB / 339 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.01328, allocations: 192 / 339 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.01333, allocations: 44.12 kB / 339.1 MB, free: 1.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.01335, allocations: 27.94 kB / 339.1 MB, free: 1.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000646/0.01399, allocations: 0.5661 MB / 339.7 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/0.01661, allocations: 2.675 MB / 342.3 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.0169, allocations: 262.4 kB / 342.6 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.01712, allocations: 233 kB / 342.8 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.01714, allocations: 7.984 kB / 342.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.01717, allocations: 42.5 kB / 342.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 1.704e-06/0.01717, allocations: 0 / 342.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.000881/0.01805, allocations: 0.5731 MB / 343.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.01808, allocations: 59.34 kB / 343.5 MB, free: 12.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.01847, allocations: 0.5297 MB / 344 MB, free: 11.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.01849, allocations: 33.7 kB / 344.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.01869, allocations: 0.4914 MB / 344.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.099e-05/0.01877, allocations: 166.6 kB / 344.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.0189, allocations: 134.6 kB / 344.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.019, allocations: 366.7 kB / 345.2 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.01919, allocations: 173.9 kB / 345.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.0195, allocations: 461.5 kB / 345.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005398/0.02004, allocations: 0.6469 MB / 346.5 MB, free: 9.258 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.02005, allocations: 0 / 346.5 MB, free: 9.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0007664/0.02081, allocations: 0.7599 MB / 347.2 MB, free: 8.488 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.02083, allocations: 11.94 kB / 347.2 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.02084, allocations: 8 kB / 347.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001979/0.02104, allocations: 84.81 kB / 347.3 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.0214, allocations: 195.9 kB / 347.5 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.02266, allocations: 1.887 MB / 349.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.02292, allocations: 87.3 kB / 349.5 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.02294, allocations: 32 kB / 349.5 MB, free: 6.07 MB / 314.7 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.0001846/0.02313, allocations: 217.5 kB / 349.7 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.02319, allocations: 59.62 kB / 349.8 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.02324, allocations: 65.5 kB / 349.9 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.02324, allocations: 4 kB / 349.9 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.02325, allocations: 0 / 349.9 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.02325, allocations: 4.047 kB / 349.9 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004555/0.02371, allocations: 0.5626 MB / 350.4 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02371, allocations: 0 / 350.4 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.02393, allocations: 103.9 kB / 350.5 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001318/0.02406, allocations: 76.67 kB / 350.6 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.02408, allocations: 8 kB / 350.6 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.02522, allocations: 1.864 MB / 352.5 MB, free: 2.941 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.02522, allocations: 3.984 kB / 352.5 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/0.02584, allocations: 0.6576 MB / 353.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.0259, allocations: 63.55 kB / 353.2 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.02594, allocations: 8 kB / 353.2 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.02614, allocations: 47.97 kB / 353.3 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.0262, allocations: 31.88 kB / 353.3 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.02621, allocations: 12 kB / 353.3 MB, free: 2.098 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002609/0.02647, allocations: 346.9 kB / 353.6 MB, free: 1.762 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02647, allocations: 0 / 353.6 MB, free: 1.762 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005171/0.02699, allocations: 251.4 kB / 353.9 MB, free: 1.516 MB / 314.7 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.0008656/0.02786, allocations: 1.211 MB / 355.1 MB, free: 284 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007232/0.02858, allocations: 0.5535 MB / 355.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.02858, allocations: 4 kB / 355.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.02889, allocations: 310.1 kB / 356 MB, free: 15.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.02927, allocations: 123.1 kB / 356.1 MB, free: 15.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.034, allocations: 5.379 MB / 361.5 MB, free: 9.543 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.0342, allocations: 336 kB / 361.8 MB, free: 9.188 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.03437, allocations: 65.2 kB / 361.9 MB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.03456, allocations: 264.4 kB / 362.1 MB, free: 8.863 MB / 330.7 MB Notification: Performance of SimCode: time 5.82e-07/0.03456, allocations: 4 kB / 362.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.06176, allocations: 14.22 MB / 376.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.216/7.278, allocations: 7.938 kB / 376.3 MB, free: 10.88 MB / 346.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/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] "" Variables in the reference:time,C1.v,C2.v,C3.v,C4.v,C7.v Variables in the result:time,C1.v,C2.v,C3.v,C4.v,C7.v [Calling sys.exit(0), Time elapsed: 9.11215912271291]