Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.001624/0.001624, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001847/0.001847, allocations: 192.8 kB / 24.5 MB, free: 4.02 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.39/1.39, allocations: 225.7 MB / 253.3 MB, free: 13.03 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.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 43.92 kB / 371.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2699, allocations: 52.18 MB / 423.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004135/0.274, allocations: 2.846 MB / 426.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.275, allocations: 0.6116 MB / 426.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.2752, allocations: 7.938 kB / 426.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.2753, allocations: 43.56 kB / 426.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.2755, allocations: 95.12 kB / 427 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.2757, allocations: 75.91 kB / 427.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.2761, allocations: 354.9 kB / 427.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.2763, allocations: 107.8 kB / 427.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.2764, allocations: 127.6 kB / 427.7 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.2766, allocations: 151.3 kB / 427.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.2767, allocations: 32 kB / 427.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.91e-05/0.2767, allocations: 32 kB / 427.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.2768, allocations: 71.75 kB / 428 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.2769, allocations: 159.3 kB / 428.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.2773, allocations: 359.4 kB / 428.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2773, allocations: 0 / 428.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2773, allocations: 0 / 428.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.2773, allocations: 4 kB / 428.5 MB, free: 9.52 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008836/0.2782, allocations: 0.5286 MB / 429 MB, free: 8.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2783, allocations: 8.031 kB / 429 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.116e-05/0.2783, allocations: 8.844 kB / 429 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.702e-05/0.2783, allocations: 70.66 kB / 429.1 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.2784, allocations: 32.75 kB / 429.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.2787, allocations: 202 kB / 429.3 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.2788, allocations: 24.97 kB / 429.3 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.2788, allocations: 32.38 kB / 429.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.2793, allocations: 254 kB / 429.6 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2793, allocations: 0 / 429.6 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.2793, allocations: 8 kB / 429.6 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.2793, allocations: 8 kB / 429.6 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.2797, allocations: 186.5 kB / 429.8 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.2812, allocations: 0.9679 MB / 430.8 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.2816, allocations: 165.9 kB / 430.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.2818, allocations: 128.8 kB / 431.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.2818, allocations: 0 / 431.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.2819, allocations: 50.86 kB / 431.1 MB, free: 6.711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.082e-06/0.2819, allocations: 0 / 431.1 MB, free: 6.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001379/0.2832, allocations: 0.6947 MB / 431.8 MB, free: 5.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.2833, allocations: 59.28 kB / 431.9 MB, free: 5.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2835, allocations: 191.2 kB / 432.1 MB, free: 5.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.2835, allocations: 33.7 kB / 432.1 MB, free: 5.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.2836, allocations: 176.5 kB / 432.3 MB, free: 5.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.156e-05/0.2837, allocations: 91.23 kB / 432.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-05/0.2838, allocations: 49.98 kB / 432.4 MB, free: 5.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2839, allocations: 330.8 kB / 432.7 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.2841, allocations: 76.53 kB / 432.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.2842, allocations: 103.6 kB / 432.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.2845, allocations: 182.1 kB / 433.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2845, allocations: 4 kB / 433.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005389/0.2851, allocations: 322.1 kB / 433.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2851, allocations: 4 kB / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2851, allocations: 0 / 433.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002821/0.2854, allocations: 104.5 kB / 433.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.2856, allocations: 39.98 kB / 433.5 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.2877, allocations: 1.988 MB / 435.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.2878, allocations: 12.02 kB / 435.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.2879, allocations: 8 kB / 435.5 MB, free: 2.055 MB / 334.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.0001572/0.288, allocations: 141.7 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.2881, allocations: 27.92 kB / 435.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.2881, allocations: 25.97 kB / 435.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.2881, allocations: 3.984 kB / 435.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.2881, allocations: 7.938 kB / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2881, allocations: 0 / 435.8 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.2892, allocations: 0.7049 MB / 436.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2892, allocations: 0 / 436.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.2894, allocations: 35.97 kB / 436.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001976/0.2896, allocations: 72.73 kB / 436.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.2896, allocations: 8 kB / 436.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.2916, allocations: 1.895 MB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2916, allocations: 3.938 kB / 438.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/0.2923, allocations: 464.2 kB / 438.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.2924, allocations: 19.97 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.2924, allocations: 4 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.2926, allocations: 15.98 kB / 439 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.2926, allocations: 19.95 kB / 439 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.2926, allocations: 8 kB / 439 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.2928, allocations: 140.4 kB / 439.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2928, allocations: 0 / 439.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004345/0.2932, allocations: 80 kB / 439.2 MB, free: 14.2 MB / 350.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.0009949/0.2942, allocations: 0.994 MB / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006822/0.2949, allocations: 350.4 kB / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2949, allocations: 4 kB / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004189/0.2953, allocations: 238.5 kB / 440.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.2957, allocations: 40.28 kB / 440.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.2994, allocations: 2.836 MB / 443.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.2999, allocations: 0.7675 MB / 444.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.593e-05/0.2999, allocations: 18.3 kB / 444.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.3001, allocations: 83.41 kB / 444.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3001, allocations: 0 / 444.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.3303, allocations: 6.079 MB / 450.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.35, allocations: 11.44 kB / 450.6 MB, free: 2.797 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --stepSize=0.0119904 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 13.9473442970193]