Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 115.6 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 43.94 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2657, allocations: 53.36 MB / 431.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004136/0.2699, allocations: 2.855 MB / 434 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.2711, allocations: 0.6465 MB / 434.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.2712, allocations: 11.94 kB / 434.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.2714, allocations: 47.56 kB / 434.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.2716, allocations: 99.11 kB / 434.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.2718, allocations: 75.89 kB / 434.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004042/0.2722, allocations: 346.9 kB / 435.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.2724, allocations: 107.8 kB / 435.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.2726, allocations: 135.6 kB / 435.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.2728, allocations: 155.3 kB / 435.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.2729, allocations: 32 kB / 435.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.571e-05/0.2729, allocations: 35.94 kB / 435.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.273, allocations: 63.83 kB / 435.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001616/0.2731, allocations: 155.3 kB / 435.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000432/0.2736, allocations: 366.9 kB / 436.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2736, allocations: 4 kB / 436.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2736, allocations: 0 / 436.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.2736, allocations: 0 / 436.3 MB, free: 1.699 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.001087/0.2747, allocations: 0.5287 MB / 436.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2747, allocations: 12.03 kB / 436.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.272e-05/0.2748, allocations: 62.72 kB / 436.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.225e-05/0.2749, allocations: 32.75 kB / 436.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.2753, allocations: 202.8 kB / 437.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.2753, allocations: 21.03 kB / 437.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.2754, allocations: 28.31 kB / 437.1 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.2758, allocations: 258.2 kB / 437.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2758, allocations: 4 kB / 437.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.2759, allocations: 8 kB / 437.4 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.2759, allocations: 11.98 kB / 437.4 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.2762, allocations: 186.5 kB / 437.6 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.2778, allocations: 0.9637 MB / 438.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.2782, allocations: 178.6 kB / 438.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.2785, allocations: 127.9 kB / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.2785, allocations: 4 kB / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.2785, allocations: 30.56 kB / 438.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.2785, allocations: 4 kB / 438.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001481/0.28, allocations: 0.7075 MB / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.2801, allocations: 51.41 kB / 439.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.2803, allocations: 196.2 kB / 439.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2803, allocations: 33.7 kB / 439.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.2804, allocations: 172.5 kB / 440 MB, free: 13.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.328e-05/0.2805, allocations: 95.22 kB / 440.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.2806, allocations: 45.98 kB / 440.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.2807, allocations: 334.8 kB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.2809, allocations: 76.53 kB / 440.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.281, allocations: 103.6 kB / 440.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.2813, allocations: 174.2 kB / 440.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2813, allocations: 0 / 440.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005636/0.2819, allocations: 322.1 kB / 441.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2819, allocations: 4 kB / 441.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.2819, allocations: 0 / 441.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/0.2822, allocations: 96.62 kB / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.2824, allocations: 47.91 kB / 441.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.2847, allocations: 1.981 MB / 443.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2848, allocations: 11.97 kB / 443.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.2848, allocations: 4 kB / 443.3 MB, free: 10.27 MB / 350.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.0001789/0.285, allocations: 145.7 kB / 443.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/0.285, allocations: 23.86 kB / 443.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.2851, allocations: 29.95 kB / 443.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.2851, allocations: 4.062 kB / 443.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.2851, allocations: 4 kB / 443.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.2851, allocations: 3.938 kB / 443.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.2862, allocations: 0.7089 MB / 444.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.2862, allocations: 3.984 kB / 444.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/0.2864, allocations: 39.98 kB / 444.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/0.2866, allocations: 76.77 kB / 444.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.2866, allocations: 8 kB / 444.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.2886, allocations: 1.879 MB / 446.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2886, allocations: 0 / 446.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007266/0.2893, allocations: 468.2 kB / 446.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.2894, allocations: 19.84 kB / 446.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.2894, allocations: 8.062 kB / 446.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.2895, allocations: 12.19 kB / 446.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.2896, allocations: 27.95 kB / 446.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.2896, allocations: 4 kB / 446.8 MB, free: 6.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.2898, allocations: 151.2 kB / 446.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2898, allocations: 0 / 446.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004597/0.2902, allocations: 76 kB / 447 MB, free: 6.398 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.001006/0.2912, allocations: 0.9943 MB / 448 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000695/0.2919, allocations: 358.4 kB / 448.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.2919, allocations: 4 kB / 448.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004386/0.2924, allocations: 254.5 kB / 448.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.2927, allocations: 40.19 kB / 448.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.2965, allocations: 2.813 MB / 451.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.2969, allocations: 0.7712 MB / 452.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.093e-05/0.297, allocations: 26.28 kB / 452.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.2971, allocations: 83.41 kB / 452.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of SimCode: time 1.162e-06/0.2971, allocations: 0 / 452.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.3336, allocations: 6.043 MB / 458.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.63, allocations: 3.938 kB / 458.4 MB, free: 11.01 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.121838638002373]