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.001203/0.001203, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001264/0.001264, allocations: 188.4 kB / 24.49 MB, free: 3.957 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.339/1.339, allocations: 225.7 MB / 253.3 MB, free: 12.87 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 51.91 kB / 371.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2392, allocations: 52.18 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006514/0.2457, allocations: 5.07 MB / 428.5 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.2475, allocations: 1.141 MB / 429.6 MB, free: 8.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.2478, allocations: 19.94 kB / 429.6 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.2481, allocations: 166.4 kB / 429.8 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.2486, allocations: 277.5 kB / 430.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.249, allocations: 227.7 kB / 430.3 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.25, allocations: 1.06 MB / 431.3 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005667/0.2506, allocations: 403 kB / 431.7 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004148/0.251, allocations: 426.6 kB / 432.2 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005688/0.2516, allocations: 477.9 kB / 432.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.2517, allocations: 96 kB / 432.7 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.2519, allocations: 96 kB / 432.8 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.2521, allocations: 223.3 kB / 433 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004145/0.2525, allocations: 426.2 kB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.2535, allocations: 1.124 MB / 434.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2535, allocations: 0 / 434.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2535, allocations: 0 / 434.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.2536, allocations: 0 / 434.6 MB, free: 3.148 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.001926/0.2555, allocations: 1.194 MB / 435.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2555, allocations: 12.03 kB / 435.8 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.168e-05/0.2556, allocations: 26.19 kB / 435.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.2557, allocations: 148.1 kB / 435.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.2559, allocations: 112.3 kB / 436.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000629/0.2565, allocations: 393.6 kB / 436.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/0.2566, allocations: 66.38 kB / 436.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.2567, allocations: 104.3 kB / 436.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.2582, allocations: 1.151 MB / 437.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.2582, allocations: 0 / 437.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-05/0.2583, allocations: 40 kB / 437.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.2583, allocations: 24 kB / 437.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009772/0.2593, allocations: 0.5738 MB / 438.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004046/0.2634, allocations: 2.674 MB / 441.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.2638, allocations: 262.4 kB / 441.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.2642, allocations: 229.2 kB / 441.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.2642, allocations: 4 kB / 441.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.2642, allocations: 38.56 kB / 441.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.552e-06/0.2642, allocations: 0 / 441.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00138/0.2656, allocations: 0.5721 MB / 442.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.2656, allocations: 63.34 kB / 442.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005627/0.2662, allocations: 0.5065 MB / 442.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.2662, allocations: 37.7 kB / 442.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.2666, allocations: 0.4914 MB / 443.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.2667, allocations: 162.6 kB / 443.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.2669, allocations: 142.5 kB / 443.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2671, allocations: 362.8 kB / 443.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.2674, allocations: 169.9 kB / 444.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/0.2679, allocations: 457.3 kB / 444.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000831/0.2687, allocations: 0.651 MB / 445.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.2687, allocations: 7.938 kB / 445.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001207/0.2699, allocations: 0.7559 MB / 445.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.27, allocations: 8 kB / 445.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.27, allocations: 16 kB / 446 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.2703, allocations: 80.75 kB / 446 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006496/0.2709, allocations: 207.8 kB / 446.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.2729, allocations: 1.879 MB / 448.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/0.2733, allocations: 99.3 kB / 448.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.2734, allocations: 32 kB / 448.3 MB, free: 4.723 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.0002483/0.2736, allocations: 209.6 kB / 448.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.2737, allocations: 67.61 kB / 448.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.718e-05/0.2738, allocations: 57.52 kB / 448.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.2738, allocations: 4 kB / 448.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2738, allocations: 4 kB / 448.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.2738, allocations: 7.922 kB / 448.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007014/0.2745, allocations: 0.5588 MB / 449.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2745, allocations: 0 / 449.2 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.2749, allocations: 95.88 kB / 449.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002076/0.2751, allocations: 64.8 kB / 449.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.2752, allocations: 12 kB / 449.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.277, allocations: 1.88 MB / 451.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.277, allocations: 0 / 451.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009625/0.278, allocations: 0.6663 MB / 451.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.888e-05/0.2781, allocations: 59.61 kB / 451.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.2781, allocations: 8 kB / 451.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.2785, allocations: 43.97 kB / 452 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.2786, allocations: 31.94 kB / 452 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.2786, allocations: 12 kB / 452 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003814/0.279, allocations: 346.9 kB / 452.4 MB, free: 440 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.279, allocations: 0 / 452.4 MB, free: 440 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.00073/0.2797, allocations: 247.4 kB / 452.6 MB, free: 192 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.001341/0.2811, allocations: 1.226 MB / 453.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009727/0.282, allocations: 0.5499 MB / 454.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.282, allocations: 4 kB / 454.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.2825, allocations: 306.6 kB / 454.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005907/0.2831, allocations: 118.8 kB / 454.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007204/0.2903, allocations: 5.49 MB / 460.3 MB, free: 8.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.2907, allocations: 336 kB / 460.6 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002574/0.2909, allocations: 69.22 kB / 460.7 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.2912, allocations: 263.4 kB / 460.9 MB, free: 7.418 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2912, allocations: 3.938 kB / 460.9 MB, free: 7.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04343/0.3347, allocations: 13.93 MB / 474.9 MB, free: 9.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.34, allocations: 17.03 kB / 474.9 MB, free: 9.781 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 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.mat","/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: 15.037205685977824]