Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.001298/0.001298, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.001499/0.001499, allocations: 208.2 kB / 23.72 MB, free: 4.527 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.39/1.39, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 47.92 kB / 377.8 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.245, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006702/0.2517, allocations: 5.09 MB / 436.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.2541, allocations: 1.18 MB / 437.4 MB, free: 344 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.2545, allocations: 19.94 kB / 437.4 MB, free: 324 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003588/0.2548, allocations: 170.4 kB / 437.6 MB, free: 152 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005469/0.2554, allocations: 281.6 kB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.2558, allocations: 227.6 kB / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.2569, allocations: 1.056 MB / 439.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006635/0.2576, allocations: 408.5 kB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004883/0.258, allocations: 430.6 kB / 440 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005907/0.2586, allocations: 473.9 kB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.2588, allocations: 96 kB / 440.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.2589, allocations: 96 kB / 440.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.2591, allocations: 215.3 kB / 440.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004863/0.2596, allocations: 442.1 kB / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.2609, allocations: 1.113 MB / 442.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.2609, allocations: 4 kB / 442.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.2609, allocations: 0 / 442.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.261, allocations: 0 / 442.4 MB, free: 11.32 MB / 350.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.2631, allocations: 1.189 MB / 443.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.2632, allocations: 12.03 kB / 443.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/0.2633, allocations: 148.1 kB / 443.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.2635, allocations: 108.3 kB / 443.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007327/0.2642, allocations: 397.5 kB / 444.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.985e-05/0.2643, allocations: 74.38 kB / 444.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.2644, allocations: 92.38 kB / 444.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.266, allocations: 1.151 MB / 445.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.266, allocations: 0 / 445.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.2661, allocations: 40 kB / 445.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.2661, allocations: 24 kB / 445.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009878/0.2671, allocations: 0.5699 MB / 446.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.2713, allocations: 2.67 MB / 448.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004475/0.2718, allocations: 263 kB / 449.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.2721, allocations: 233.2 kB / 449.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.2722, allocations: 11.94 kB / 449.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.2722, allocations: 42.56 kB / 449.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.244e-06/0.2722, allocations: 0 / 449.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001392/0.2736, allocations: 0.5604 MB / 449.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.2736, allocations: 63.34 kB / 450 MB, free: 3.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005989/0.2742, allocations: 0.5336 MB / 450.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.2743, allocations: 33.7 kB / 450.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.2746, allocations: 0.4992 MB / 451 MB, free: 2.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.2748, allocations: 158.6 kB / 451.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.2749, allocations: 142.5 kB / 451.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.2751, allocations: 362.8 kB / 451.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.2754, allocations: 173.9 kB / 451.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/0.276, allocations: 449.5 kB / 452.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00084/0.2768, allocations: 0.6508 MB / 453 MB, free: 132 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.2768, allocations: 7.938 kB / 453 MB, free: 124 kB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001238/0.278, allocations: 0.7522 MB / 453.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.2781, allocations: 8 kB / 453.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.2781, allocations: 12 kB / 453.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.2784, allocations: 88.75 kB / 453.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.279, allocations: 195.9 kB / 454 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.2811, allocations: 1.887 MB / 455.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.2815, allocations: 91.36 kB / 456 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.2816, allocations: 39.94 kB / 456 MB, free: 12.92 MB / 366.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.0002623/0.2818, allocations: 212 kB / 456.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-05/0.2819, allocations: 63.61 kB / 456.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.85e-05/0.282, allocations: 65.52 kB / 456.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.282, allocations: 4 kB / 456.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.282, allocations: 0 / 456.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2821, allocations: 3.984 kB / 456.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006845/0.2827, allocations: 0.5625 MB / 456.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2827, allocations: 4 kB / 456.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.2832, allocations: 99.88 kB / 457 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.2833, allocations: 68.8 kB / 457.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.2834, allocations: 4 kB / 457.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.2852, allocations: 1.879 MB / 459 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2852, allocations: 0 / 459 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009409/0.2861, allocations: 0.6586 MB / 459.6 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.2862, allocations: 63.61 kB / 459.7 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.2863, allocations: 8 kB / 459.7 MB, free: 9.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004052/0.2867, allocations: 43.97 kB / 459.8 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.2868, allocations: 31.94 kB / 459.8 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.2868, allocations: 8 kB / 459.8 MB, free: 8.977 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004076/0.2872, allocations: 350.9 kB / 460.1 MB, free: 8.637 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2872, allocations: 0 / 460.1 MB, free: 8.637 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007444/0.2879, allocations: 247.4 kB / 460.4 MB, free: 8.395 MB / 366.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.001295/0.2892, allocations: 1.222 MB / 461.6 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000992/0.2902, allocations: 0.5579 MB / 462.2 MB, free: 6.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2902, allocations: 4.062 kB / 462.2 MB, free: 6.566 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.2907, allocations: 306.7 kB / 462.5 MB, free: 6.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.2913, allocations: 122.6 kB / 462.6 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007435/0.2987, allocations: 5.495 MB / 468.1 MB, free: 304 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.2991, allocations: 340 kB / 468.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000252/0.2993, allocations: 65.22 kB / 468.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/0.2996, allocations: 259.4 kB / 468.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2996, allocations: 0 / 468.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05491/0.3545, allocations: 14.36 MB / 483.1 MB, free: 1.543 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.92, allocations: 11.11 kB / 483.1 MB, free: 1.535 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.45597593698767]