Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 181.7 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] 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.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 59.91 kB / 370.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2999, allocations: 52.17 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.00438/0.3043, allocations: 2.853 MB / 425.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.3055, allocations: 0.6193 MB / 426.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.3057, allocations: 4 kB / 426.1 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.3058, allocations: 51.5 kB / 426.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.3061, allocations: 91.19 kB / 426.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.3063, allocations: 71.91 kB / 426.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.3067, allocations: 354.9 kB / 426.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.3069, allocations: 107.8 kB / 426.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.307, allocations: 127.6 kB / 426.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.3073, allocations: 155.3 kB / 427 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.3073, allocations: 32 kB / 427.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.444e-05/0.3074, allocations: 28 kB / 427.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.28e-05/0.3074, allocations: 67.77 kB / 427.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001572/0.3076, allocations: 171.2 kB / 427.3 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.308, allocations: 355 kB / 427.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.308, allocations: 0 / 427.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.308, allocations: 0 / 427.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.308, allocations: 0 / 427.7 MB, free: 9.512 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009051/0.3089, allocations: 0.5287 MB / 428.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.309, allocations: 12.03 kB / 428.2 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.491e-05/0.309, allocations: 66.72 kB / 428.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.3091, allocations: 32.75 kB / 428.3 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.3095, allocations: 206 kB / 428.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.3095, allocations: 17.03 kB / 428.5 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.348e-05/0.3095, allocations: 36.36 kB / 428.6 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.31, allocations: 250.2 kB / 428.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.31, allocations: 0 / 428.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.31, allocations: 12 kB / 428.8 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.31, allocations: 8 kB / 428.8 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003374/0.3104, allocations: 182.5 kB / 429 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.3119, allocations: 0.9678 MB / 430 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.3123, allocations: 158.7 kB / 430.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.3125, allocations: 132.8 kB / 430.3 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.3125, allocations: 7.938 kB / 430.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.3126, allocations: 34.56 kB / 430.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/0.3126, allocations: 0 / 430.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001432/0.314, allocations: 0.7029 MB / 431 MB, free: 5.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.314, allocations: 63.34 kB / 431.1 MB, free: 5.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.3142, allocations: 187.2 kB / 431.3 MB, free: 5.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3143, allocations: 29.7 kB / 431.3 MB, free: 5.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.3144, allocations: 176.5 kB / 431.5 MB, free: 5.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.861e-05/0.3145, allocations: 91.22 kB / 431.6 MB, free: 5.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/0.3145, allocations: 57.98 kB / 431.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3147, allocations: 334.8 kB / 431.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.3148, allocations: 68.53 kB / 432 MB, free: 4.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.315, allocations: 107.6 kB / 432.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.3153, allocations: 186.1 kB / 432.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3153, allocations: 4 kB / 432.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006651/0.316, allocations: 314.1 kB / 432.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.316, allocations: 11.28 kB / 432.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.316, allocations: 0 / 432.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/0.3162, allocations: 84.84 kB / 432.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.3164, allocations: 47.91 kB / 432.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.3186, allocations: 1.987 MB / 434.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.3188, allocations: 7.938 kB / 434.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.3188, allocations: 16.03 kB / 434.7 MB, free: 2.066 MB / 334.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.0001619/0.319, allocations: 149.8 kB / 434.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.319, allocations: 19.86 kB / 434.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.3191, allocations: 25.97 kB / 434.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.3191, allocations: 4 kB / 434.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3191, allocations: 4 kB / 434.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3191, allocations: 7.922 kB / 435 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.3202, allocations: 0.7049 MB / 435.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3202, allocations: 0 / 435.7 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.3204, allocations: 44 kB / 435.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.3206, allocations: 68.75 kB / 435.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.3206, allocations: 11.98 kB / 435.8 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.3225, allocations: 1.879 MB / 437.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3225, allocations: 3.938 kB / 437.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.3232, allocations: 472.2 kB / 438.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.3232, allocations: 15.97 kB / 438.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.3232, allocations: 0 / 438.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.3234, allocations: 15.98 kB / 438.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.3235, allocations: 19.97 kB / 438.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.3235, allocations: 7.984 kB / 438.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.3236, allocations: 144.4 kB / 438.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3236, allocations: 0 / 438.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004354/0.3241, allocations: 80.28 kB / 438.4 MB, free: 14.21 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.001026/0.3251, allocations: 0.9939 MB / 439.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007628/0.3259, allocations: 350.4 kB / 439.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3259, allocations: 4 kB / 439.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004153/0.3263, allocations: 246.6 kB / 440 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.3267, allocations: 43.45 kB / 440 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.3304, allocations: 2.837 MB / 442.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.3308, allocations: 0.7636 MB / 443.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.426e-05/0.3309, allocations: 22.28 kB / 443.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.331, allocations: 75.42 kB / 443.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.331, allocations: 0 / 443.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04003/0.371, allocations: 6.045 MB / 449.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.72, allocations: 10.27 kB / 449.8 MB, free: 2.828 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 14.333133836000343]