Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001835/0.001835, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002429/0.002429, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 207.6 MB / 235.2 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 47.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 49.15 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004481/0.361, allocations: 2.792 MB / 399.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.3622, allocations: 0.6651 MB / 399.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.3623, allocations: 5 kB / 399.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.3625, allocations: 51.7 kB / 399.9 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.3627, allocations: 91.39 kB / 400 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.363, allocations: 79.98 kB / 400 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.3634, allocations: 353.3 kB / 400.4 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.3636, allocations: 108 kB / 400.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.3638, allocations: 137.7 kB / 400.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.3641, allocations: 150 kB / 400.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.3642, allocations: 32.03 kB / 400.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.379e-05/0.3642, allocations: 30.81 kB / 400.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.697e-05/0.3643, allocations: 71.86 kB / 400.9 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.3644, allocations: 159.7 kB / 401.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.365, allocations: 364.6 kB / 401.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.365, allocations: 0 / 401.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.365, allocations: 0 / 401.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.365, allocations: 1.5 kB / 401.4 MB, free: 5.727 MB / 318.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.0009324/0.3659, allocations: 0.5232 MB / 401.9 MB, free: 5.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.366, allocations: 15.17 kB / 401.9 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.033e-05/0.366, allocations: 61.81 kB / 402 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.489e-05/0.3661, allocations: 37.44 kB / 402 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.3665, allocations: 198 kB / 402.2 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.3665, allocations: 20.56 kB / 402.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.3665, allocations: 31.78 kB / 402.3 MB, free: 5.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.367, allocations: 258.9 kB / 402.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.367, allocations: 0 / 402.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.3671, allocations: 14.88 kB / 402.6 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.3671, allocations: 6.812 kB / 402.6 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.3674, allocations: 189.9 kB / 402.7 MB, free: 4.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.369, allocations: 0.9594 MB / 403.7 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.3694, allocations: 167.6 kB / 403.9 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.3697, allocations: 128.8 kB / 404 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.3697, allocations: 7.594 kB / 404 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3697, allocations: 35.94 kB / 404 MB, free: 4.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.3697, allocations: 5.281 kB / 404 MB, free: 4.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001487/0.3712, allocations: 0.6861 MB / 404.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.3712, allocations: 60.05 kB / 404.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.3714, allocations: 198.2 kB / 405 MB, free: 3.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3714, allocations: 30.77 kB / 405 MB, free: 3.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/0.3715, allocations: 175.8 kB / 405.2 MB, free: 3.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/0.3716, allocations: 94 kB / 405.3 MB, free: 3.164 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.536e-05/0.3717, allocations: 50.09 kB / 405.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.591e-05/0.3717, allocations: 340 kB / 405.7 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.3719, allocations: 68.56 kB / 405.7 MB, free: 2.777 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.372, allocations: 103.9 kB / 405.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.3723, allocations: 180.7 kB / 406 MB, free: 2.633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3723, allocations: 0 / 406 MB, free: 2.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005919/0.3729, allocations: 322.6 kB / 406.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.373, allocations: 4.781 kB / 406.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.373, allocations: 1.438 kB / 406.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/0.3732, allocations: 83.56 kB / 406.4 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.3734, allocations: 50.33 kB / 406.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.3752, allocations: 1.986 MB / 408.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3753, allocations: 11.48 kB / 408.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.3753, allocations: 6.875 kB / 408.5 MB, free: 0.7422 MB / 318.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.0001179/0.3754, allocations: 139.4 kB / 408.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.3755, allocations: 19.42 kB / 408.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.3755, allocations: 28.31 kB / 408.6 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3755, allocations: 6.844 kB / 408.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.3755, allocations: 5.922 kB / 408.7 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3756, allocations: 5.156 kB / 408.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.3766, allocations: 0.7094 MB / 409.4 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3766, allocations: 9.312 kB / 409.4 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.3767, allocations: 39.5 kB / 409.4 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000206/0.377, allocations: 76.09 kB / 409.5 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.377, allocations: 11.05 kB / 409.5 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/0.379, allocations: 1.879 MB / 411.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3791, allocations: 1.625 kB / 411.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007665/0.3798, allocations: 467 kB / 411.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.3799, allocations: 19.16 kB / 411.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.3799, allocations: 6.469 kB / 411.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.3801, allocations: 18.16 kB / 411.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-05/0.3802, allocations: 21.64 kB / 411.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3802, allocations: 5.547 kB / 411.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.3803, allocations: 150 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3803, allocations: 0 / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004507/0.3808, allocations: 79.56 kB / 412.1 MB, free: 13.99 MB / 334.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.001212/0.382, allocations: 1 MB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008086/0.3828, allocations: 346.5 kB / 413.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3828, allocations: 0 / 413.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.3833, allocations: 253.5 kB / 413.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.3837, allocations: 45.89 kB / 413.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.3882, allocations: 2.813 MB / 416.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.3887, allocations: 0.7651 MB / 417.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.3888, allocations: 21.98 kB / 417.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.389, allocations: 86.33 kB / 417.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of SimCode: time 9.22e-07/0.389, allocations: 0 / 417.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04131/0.4303, allocations: 6.056 MB / 423.5 MB, free: 6.945 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.17, allocations: 5.609 kB / 423.5 MB, free: 6.941 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 16.20066252304241]