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.001232/0.001232, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00132/0.00132, allocations: 202.1 kB / 23.73 MB, free: 4.379 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.379/1.379, allocations: 230.6 MB / 257.5 MB, free: 7.727 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.00144/0.00144, allocations: 51.92 kB / 377.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2551, allocations: 53.36 MB / 431.1 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00636/0.2614, allocations: 5.086 MB / 436.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.2638, allocations: 1.18 MB / 437.4 MB, free: 284 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.2641, allocations: 23.94 kB / 437.4 MB, free: 260 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.2645, allocations: 170.4 kB / 437.6 MB, free: 88 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.265, allocations: 269.5 kB / 437.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.2654, allocations: 231.7 kB / 438.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00104/0.2665, allocations: 1.06 MB / 439.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006036/0.2671, allocations: 408.5 kB / 439.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.2675, allocations: 430.6 kB / 440 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005836/0.2681, allocations: 473.9 kB / 440.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.2682, allocations: 100 kB / 440.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.2683, allocations: 96 kB / 440.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.2685, allocations: 219.3 kB / 440.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004128/0.2689, allocations: 434.1 kB / 441.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.27, allocations: 1.117 MB / 442.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.27, allocations: 0 / 442.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.27, allocations: 0 / 442.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.27, allocations: 0 / 442.4 MB, free: 11.27 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.00195/0.272, allocations: 1.187 MB / 443.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.272, allocations: 12.03 kB / 443.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001634/0.2722, allocations: 148.1 kB / 443.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.2723, allocations: 108.3 kB / 443.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006772/0.273, allocations: 397.5 kB / 444.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.1e-05/0.2731, allocations: 70.38 kB / 444.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.2732, allocations: 100.4 kB / 444.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.2747, allocations: 1.155 MB / 445.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.2748, allocations: 0 / 445.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.2748, allocations: 36 kB / 445.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.259e-05/0.2749, allocations: 24 kB / 445.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009504/0.2758, allocations: 0.57 MB / 446.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004045/0.2799, allocations: 2.67 MB / 448.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.2803, allocations: 265.1 kB / 449.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.2806, allocations: 229.2 kB / 449.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.2806, allocations: 4 kB / 449.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.2807, allocations: 42.5 kB / 449.4 MB, free: 3.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 1.583e-06/0.2807, allocations: 4 kB / 449.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.00135/0.282, allocations: 0.5721 MB / 449.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.2821, allocations: 59.34 kB / 450 MB, free: 3.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/0.2826, allocations: 0.5336 MB / 450.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.2827, allocations: 33.7 kB / 450.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/0.283, allocations: 499.2 kB / 451 MB, free: 2.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.2831, allocations: 166.6 kB / 451.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.2833, allocations: 142.6 kB / 451.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2835, allocations: 366.7 kB / 451.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/0.2837, allocations: 165.9 kB / 451.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004867/0.2842, allocations: 461.5 kB / 452.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007746/0.285, allocations: 0.643 MB / 453 MB, free: 72 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.285, allocations: 4 kB / 453 MB, free: 68 kB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001176/0.2862, allocations: 0.7598 MB / 453.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2862, allocations: 12 kB / 453.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.2862, allocations: 8 kB / 453.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002908/0.2865, allocations: 84.97 kB / 453.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006479/0.2872, allocations: 199.7 kB / 454 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.289, allocations: 1.879 MB / 455.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.2894, allocations: 91.3 kB / 456 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.2895, allocations: 39.94 kB / 456 MB, free: 12.87 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.0002349/0.2897, allocations: 208 kB / 456.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.2898, allocations: 67.61 kB / 456.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.441e-05/0.2899, allocations: 61.5 kB / 456.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2899, allocations: 4 kB / 456.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2899, allocations: 4 kB / 456.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-06/0.2899, allocations: 8.047 kB / 456.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006772/0.2906, allocations: 0.5626 MB / 456.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2906, allocations: 0 / 456.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/0.291, allocations: 103.9 kB / 457 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/0.2912, allocations: 68.8 kB / 457.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.2912, allocations: 8 kB / 457.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.293, allocations: 1.868 MB / 459 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.293, allocations: 0 / 459 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009879/0.294, allocations: 0.6664 MB / 459.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.961e-05/0.2941, allocations: 59.61 kB / 459.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-05/0.2942, allocations: 8 kB / 459.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003914/0.2946, allocations: 43.97 kB / 459.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.2947, allocations: 31.94 kB / 459.8 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.2947, allocations: 12 kB / 459.8 MB, free: 8.918 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00037/0.2951, allocations: 350.9 kB / 460.1 MB, free: 8.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2951, allocations: 0 / 460.1 MB, free: 8.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000697/0.2958, allocations: 247.4 kB / 460.4 MB, free: 8.336 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.001292/0.297, allocations: 1.222 MB / 461.6 MB, free: 7.082 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000931/0.298, allocations: 0.5494 MB / 462.2 MB, free: 6.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.298, allocations: 4 kB / 462.2 MB, free: 6.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004795/0.2985, allocations: 302.7 kB / 462.5 MB, free: 6.207 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.299, allocations: 127.2 kB / 462.6 MB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007017/0.306, allocations: 5.491 MB / 468.1 MB, free: 256 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.3064, allocations: 336 kB / 468.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002845/0.3067, allocations: 73.2 kB / 468.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.307, allocations: 259.4 kB / 468.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of SimCode: time 1.422e-06/0.307, allocations: 4.031 kB / 468.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/0.3568, allocations: 14.37 MB / 483.1 MB, free: 1.477 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.48, allocations: 2.922 kB / 483.1 MB, free: 1.477 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 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.mat","/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: 13.980452079995302]