Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 112.6 kB / 17.07 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 193.4 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 51.92 kB / 350.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2861, allocations: 49.44 MB / 400.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007673/0.2938, allocations: 5.757 MB / 406 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.2968, allocations: 1.165 MB / 407.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005728/0.2974, allocations: 23.94 kB / 407.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.2979, allocations: 174.3 kB / 407.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006445/0.2985, allocations: 273.5 kB / 407.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.299, allocations: 215.7 kB / 407.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.3002, allocations: 1.067 MB / 408.9 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007286/0.301, allocations: 0.5103 MB / 409.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000541/0.3015, allocations: 418.6 kB / 409.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006123/0.3022, allocations: 477.9 kB / 410.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.3023, allocations: 96 kB / 410.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.3025, allocations: 96 kB / 410.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.3027, allocations: 219.3 kB / 410.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005028/0.3032, allocations: 0.5016 MB / 411.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.3045, allocations: 1.112 MB / 412.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3045, allocations: 0 / 412.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3045, allocations: 0 / 412.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.402e-05/0.3045, allocations: 0 / 412.3 MB, free: 12.67 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00216/0.3067, allocations: 1.269 MB / 413.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3067, allocations: 8.031 kB / 413.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000187/0.3069, allocations: 148.1 kB / 413.8 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.3071, allocations: 112.3 kB / 413.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007433/0.3079, allocations: 463.4 kB / 414.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/0.3079, allocations: 70.38 kB / 414.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.3081, allocations: 100.3 kB / 414.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.3095, allocations: 0.8676 MB / 415.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.3096, allocations: 0 / 415.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/0.3097, allocations: 44 kB / 415.4 MB, free: 9.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.3097, allocations: 23.98 kB / 415.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.3107, allocations: 0.5777 MB / 416 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004464/0.3152, allocations: 2.954 MB / 419 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.3157, allocations: 294.5 kB / 419.2 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.3161, allocations: 268.8 kB / 419.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.3161, allocations: 4 kB / 419.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.3162, allocations: 46.48 kB / 419.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.3162, allocations: 0 / 419.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001514/0.3177, allocations: 0.6474 MB / 420.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.3177, allocations: 67.33 kB / 420.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000603/0.3184, allocations: 0.5065 MB / 420.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.3184, allocations: 41.7 kB / 420.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.3188, allocations: 499.2 kB / 421.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3189, allocations: 158.7 kB / 421.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.3191, allocations: 142.6 kB / 421.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.3193, allocations: 366.8 kB / 422 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.3196, allocations: 165.9 kB / 422.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005387/0.3202, allocations: 453.5 kB / 422.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008853/0.3211, allocations: 0.6479 MB / 423.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.3211, allocations: 8 kB / 423.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001319/0.3224, allocations: 0.7652 MB / 424 MB, free: 432 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.3225, allocations: 11.94 kB / 424 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.3225, allocations: 8 kB / 424 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003155/0.3228, allocations: 84.75 kB / 424.1 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006634/0.3235, allocations: 191.7 kB / 424.3 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.3257, allocations: 2.029 MB / 426.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.3263, allocations: 87.36 kB / 426.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.3263, allocations: 35.94 kB / 426.4 MB, free: 13.84 MB / 350.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.0003173/0.3267, allocations: 217.5 kB / 426.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.3268, allocations: 63.67 kB / 426.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.3269, allocations: 61.5 kB / 426.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3269, allocations: 4 kB / 426.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3269, allocations: 0 / 426.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.3269, allocations: 7.984 kB / 426.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00085/0.3278, allocations: 0.6415 MB / 427.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3278, allocations: 0 / 427.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/0.3282, allocations: 103.9 kB / 427.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002276/0.3285, allocations: 65.09 kB / 427.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.3285, allocations: 15.98 kB / 427.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.3306, allocations: 1.986 MB / 429.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3306, allocations: 0 / 429.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.3317, allocations: 0.6661 MB / 430.2 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.3318, allocations: 136.7 kB / 430.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.165e-05/0.3319, allocations: 8 kB / 430.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.3323, allocations: 48.16 kB / 430.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.3324, allocations: 31.95 kB / 430.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.3324, allocations: 12 kB / 430.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003989/0.3328, allocations: 346.9 kB / 430.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3328, allocations: 0 / 430.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008182/0.3337, allocations: 255.4 kB / 431.1 MB, free: 8.957 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,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.001423/0.3351, allocations: 1.221 MB / 432.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.3362, allocations: 0.5931 MB / 432.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3363, allocations: 0 / 432.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004941/0.3368, allocations: 326 kB / 433.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.3373, allocations: 119.7 kB / 433.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00751/0.3449, allocations: 5.489 MB / 438.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.3455, allocations: 0.9337 MB / 439.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002877/0.3458, allocations: 73.2 kB / 439.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.3462, allocations: 259.4 kB / 440.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3462, allocations: 0 / 440.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04352/0.3897, allocations: 12.82 MB / 452.9 MB, free: 2.895 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.52, allocations: 0.7031 kB / 452.9 MB, free: 2.895 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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.024 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches