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.001714/0.001714, allocations: 105.1 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.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.001729/0.001729, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.383/1.383, allocations: 230.6 MB / 258.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 47.92 kB / 378.5 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2341, allocations: 53.36 MB / 431.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00651/0.2406, allocations: 5.088 MB / 437 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.2427, allocations: 1.172 MB / 438.2 MB, free: 336 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000322/0.243, allocations: 19.94 kB / 438.2 MB, free: 316 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.2434, allocations: 178.3 kB / 438.4 MB, free: 136 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005271/0.2439, allocations: 269.6 kB / 438.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.2443, allocations: 223.7 kB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.2454, allocations: 1.06 MB / 439.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006219/0.246, allocations: 414.8 kB / 440.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.2464, allocations: 426.6 kB / 440.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005535/0.247, allocations: 473.9 kB / 441.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.2471, allocations: 104 kB / 441.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.2472, allocations: 96 kB / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.2474, allocations: 215.3 kB / 441.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004109/0.2478, allocations: 438.1 kB / 442 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2489, allocations: 1.113 MB / 443.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2489, allocations: 0 / 443.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2489, allocations: 0 / 443.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.2489, allocations: 0 / 443.1 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.001942/0.2509, allocations: 1.187 MB / 444.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.2509, allocations: 12.03 kB / 444.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.955e-05/0.251, allocations: 26.19 kB / 444.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.2511, allocations: 148.1 kB / 444.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.2513, allocations: 112.3 kB / 444.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006325/0.2519, allocations: 401.5 kB / 445 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/0.252, allocations: 70.38 kB / 445.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.2521, allocations: 88.38 kB / 445.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.2536, allocations: 1.155 MB / 446.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2536, allocations: 0 / 446.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.74e-05/0.2537, allocations: 40 kB / 446.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.2537, allocations: 20 kB / 446.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009804/0.2547, allocations: 0.5739 MB / 446.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004101/0.2588, allocations: 2.674 MB / 449.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.2593, allocations: 269.5 kB / 449.9 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003534/0.2596, allocations: 229.1 kB / 450.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.2596, allocations: 4 kB / 450.1 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.2597, allocations: 38.56 kB / 450.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 3.717e-06/0.2597, allocations: 7.984 kB / 450.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001449/0.2611, allocations: 0.5759 MB / 450.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.2612, allocations: 59.34 kB / 450.8 MB, free: 3.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/0.2618, allocations: 0.5143 MB / 451.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.2618, allocations: 33.7 kB / 451.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.2621, allocations: 0.4914 MB / 451.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.2623, allocations: 166.6 kB / 452 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.2625, allocations: 134.6 kB / 452.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2626, allocations: 370.8 kB / 452.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.2629, allocations: 169.9 kB / 452.6 MB, free: 1.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.2634, allocations: 449.6 kB / 453.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008127/0.2642, allocations: 0.6508 MB / 453.7 MB, free: 108 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2642, allocations: 0 / 453.7 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001197/0.2654, allocations: 0.7595 MB / 454.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2654, allocations: 8 kB / 454.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.2655, allocations: 8 kB / 454.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002947/0.2658, allocations: 89.28 kB / 454.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.2664, allocations: 199.6 kB / 454.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/0.2684, allocations: 1.887 MB / 456.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.2689, allocations: 95.22 kB / 456.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/0.2689, allocations: 36 kB / 456.8 MB, free: 12.9 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.0002879/0.2692, allocations: 209.6 kB / 457 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.2693, allocations: 59.62 kB / 457.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.533e-05/0.2694, allocations: 65.56 kB / 457.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.2694, allocations: 8 kB / 457.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2694, allocations: 0 / 457.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.2694, allocations: 3.938 kB / 457.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007291/0.2702, allocations: 0.5587 MB / 457.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2702, allocations: 0 / 457.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004023/0.2706, allocations: 103.9 kB / 457.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.2708, allocations: 68.81 kB / 457.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.2708, allocations: 11.98 kB / 457.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.2726, allocations: 1.872 MB / 459.8 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/0.2726, allocations: 0 / 459.8 MB, free: 9.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009754/0.2736, allocations: 0.6546 MB / 460.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.873e-05/0.2737, allocations: 63.59 kB / 460.5 MB, free: 9.047 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.2738, allocations: 12 kB / 460.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.2742, allocations: 44.03 kB / 460.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.51e-05/0.2742, allocations: 27.94 kB / 460.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.2743, allocations: 20.12 kB / 460.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004128/0.2747, allocations: 346.9 kB / 460.9 MB, free: 8.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2747, allocations: 0 / 460.9 MB, free: 8.609 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007849/0.2755, allocations: 251.4 kB / 461.2 MB, free: 8.363 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.2768, allocations: 1.229 MB / 462.4 MB, free: 7.102 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009474/0.2777, allocations: 0.5525 MB / 462.9 MB, free: 6.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2777, allocations: 0 / 462.9 MB, free: 6.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004625/0.2782, allocations: 304.4 kB / 463.2 MB, free: 6.227 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.2787, allocations: 122.2 kB / 463.4 MB, free: 6.109 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006905/0.2856, allocations: 5.486 MB / 468.8 MB, free: 288 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.286, allocations: 344 kB / 469.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.2862, allocations: 65.22 kB / 469.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.2865, allocations: 263.3 kB / 469.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.2865, allocations: 3.938 kB / 469.5 MB, free: 15.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04176/0.3283, allocations: 13.96 MB / 483.5 MB, free: 1.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.14, allocations: 3.984 kB / 483.5 MB, free: 1.949 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: 14.926947464002296]