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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002258/0.002258, allocations: 185 kB / 23.7 MB, free: 4.191 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.382/1.382, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 43.94 kB / 370.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.278, allocations: 52.18 MB / 422.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006938/0.2849, allocations: 5.072 MB / 427.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.2872, allocations: 1.145 MB / 428.8 MB, free: 8.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003209/0.2875, allocations: 23.94 kB / 428.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.2879, allocations: 166.4 kB / 429 MB, free: 7.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005211/0.2884, allocations: 277.4 kB / 429.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.2889, allocations: 231.6 kB / 429.5 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.29, allocations: 1.06 MB / 430.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006001/0.2906, allocations: 380.7 kB / 430.9 MB, free: 6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.291, allocations: 426.6 kB / 431.4 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00054/0.2916, allocations: 398 kB / 431.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.2917, allocations: 103.9 kB / 431.8 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.2919, allocations: 96 kB / 431.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.2921, allocations: 223.3 kB / 432.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004208/0.2925, allocations: 434.1 kB / 432.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.2937, allocations: 1.113 MB / 433.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2937, allocations: 3.984 kB / 433.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2937, allocations: 0 / 433.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.2937, allocations: 0 / 433.7 MB, free: 3.23 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.002031/0.2957, allocations: 1.201 MB / 434.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.2958, allocations: 12.03 kB / 434.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.2959, allocations: 148.1 kB / 435.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.2961, allocations: 108.3 kB / 435.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.2968, allocations: 393.6 kB / 435.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/0.2968, allocations: 70.38 kB / 435.6 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.297, allocations: 104.3 kB / 435.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.2985, allocations: 1.144 MB / 436.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.2985, allocations: 0 / 436.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.2986, allocations: 44 kB / 436.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.2987, allocations: 24 kB / 436.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.2997, allocations: 0.5622 MB / 437.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004272/0.3039, allocations: 2.673 MB / 440.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004576/0.3044, allocations: 266.4 kB / 440.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.3047, allocations: 229.2 kB / 440.6 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3048, allocations: 4 kB / 440.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.3048, allocations: 42.56 kB / 440.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.743e-06/0.3048, allocations: 0 / 440.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001429/0.3062, allocations: 0.5721 MB / 441.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.3063, allocations: 63.28 kB / 441.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006243/0.3069, allocations: 0.5336 MB / 441.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.307, allocations: 33.7 kB / 441.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003785/0.3073, allocations: 499.2 kB / 442.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.3075, allocations: 166.6 kB / 442.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.3077, allocations: 142.6 kB / 442.7 MB, free: 9.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.3079, allocations: 362.8 kB / 443 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.3082, allocations: 169.9 kB / 443.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005336/0.3087, allocations: 457.3 kB / 443.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008654/0.3096, allocations: 0.6471 MB / 444.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.3096, allocations: 4 kB / 444.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00121/0.3108, allocations: 0.7559 MB / 445.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.3108, allocations: 12 kB / 445.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3108, allocations: 8 kB / 445.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/0.3111, allocations: 76.81 kB / 445.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.3118, allocations: 203.9 kB / 445.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.3138, allocations: 1.887 MB / 447.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.3143, allocations: 91.3 kB / 447.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/0.3143, allocations: 39.94 kB / 447.4 MB, free: 4.824 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.0002604/0.3146, allocations: 209.5 kB / 447.6 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.31e-05/0.3147, allocations: 71.55 kB / 447.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.943e-05/0.3148, allocations: 61.52 kB / 447.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.3148, allocations: 4 kB / 447.7 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.3148, allocations: 4 kB / 447.7 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.3148, allocations: 4.047 kB / 447.7 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007098/0.3155, allocations: 0.5587 MB / 448.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3155, allocations: 0 / 448.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.3159, allocations: 91.94 kB / 448.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001999/0.3161, allocations: 72.73 kB / 448.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.3161, allocations: 8 kB / 448.4 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.318, allocations: 1.872 MB / 450.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.318, allocations: 0 / 450.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.319, allocations: 0.6664 MB / 451 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.832e-05/0.3191, allocations: 59.66 kB / 451 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.3192, allocations: 4 kB / 451 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.3196, allocations: 47.97 kB / 451.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.3197, allocations: 27.94 kB / 451.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.3197, allocations: 12 kB / 451.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003994/0.3201, allocations: 350.9 kB / 451.5 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3201, allocations: 3.938 kB / 451.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007241/0.3208, allocations: 247.4 kB / 451.7 MB, free: 300 kB / 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.001479/0.3223, allocations: 1.218 MB / 452.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009712/0.3233, allocations: 0.5535 MB / 453.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.3233, allocations: 4 kB / 453.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.3238, allocations: 306.5 kB / 453.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005699/0.3243, allocations: 119.1 kB / 453.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007166/0.3315, allocations: 5.496 MB / 459.4 MB, free: 8.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.3318, allocations: 336 kB / 459.7 MB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000251/0.3321, allocations: 69.22 kB / 459.8 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.3324, allocations: 259.4 kB / 460.1 MB, free: 7.523 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3324, allocations: 0 / 460.1 MB, free: 7.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04943/0.3818, allocations: 14.13 MB / 474.2 MB, free: 9.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.09, allocations: 6.406 kB / 474.2 MB, free: 9.66 MB / 382.1 MB " [Timeout remaining time 648] (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.0119904 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.629888549912721]