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.00128/0.00128, allocations: 112 kB / 20.43 MB, free: 1.449 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.001463/0.001463, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.36/1.36, allocations: 225.6 MB / 252.5 MB, free: 13.02 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 47.92 kB / 370.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2787, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004305/0.283, allocations: 2.842 MB / 425.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.2841, allocations: 0.6116 MB / 426.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.2842, allocations: 11.94 kB / 426.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.2844, allocations: 47.56 kB / 426.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.2846, allocations: 99.12 kB / 426.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.2848, allocations: 71.89 kB / 426.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.2852, allocations: 346.9 kB / 426.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002266/0.2854, allocations: 103.8 kB / 426.8 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.2856, allocations: 143.5 kB / 426.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002285/0.2858, allocations: 151.3 kB / 427 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.638e-05/0.2859, allocations: 32 kB / 427.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.151e-05/0.2859, allocations: 32 kB / 427.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.286, allocations: 67.77 kB / 427.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.2862, allocations: 155.3 kB / 427.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.2866, allocations: 363 kB / 427.7 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2866, allocations: 0 / 427.7 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2866, allocations: 3.938 kB / 427.7 MB, free: 9.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.2866, allocations: 0 / 427.7 MB, free: 9.539 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.000903/0.2875, allocations: 0.5287 MB / 428.2 MB, free: 8.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2875, allocations: 12.03 kB / 428.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.708e-05/0.2876, allocations: 58.73 kB / 428.3 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.2877, allocations: 36.73 kB / 428.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.288, allocations: 206 kB / 428.5 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.288, allocations: 24.97 kB / 428.5 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.2881, allocations: 24.38 kB / 428.6 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.2885, allocations: 258.2 kB / 428.8 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.2885, allocations: 3.984 kB / 428.8 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.2886, allocations: 11.94 kB / 428.8 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.2886, allocations: 8 kB / 428.8 MB, free: 8.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.2889, allocations: 186.5 kB / 429 MB, free: 8.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.2904, allocations: 0.9601 MB / 430 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.2908, allocations: 170.1 kB / 430.2 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.291, allocations: 132.8 kB / 430.3 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.291, allocations: 4 kB / 430.3 MB, free: 6.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.2911, allocations: 34.5 kB / 430.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.2911, allocations: 4 kB / 430.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001403/0.2925, allocations: 0.6962 MB / 431 MB, free: 6.012 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.2925, allocations: 63.28 kB / 431.1 MB, free: 5.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.2927, allocations: 191.2 kB / 431.3 MB, free: 5.742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.2927, allocations: 33.7 kB / 431.3 MB, free: 5.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.2929, allocations: 172.5 kB / 431.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.286e-05/0.2929, allocations: 95.22 kB / 431.6 MB, free: 5.438 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/0.293, allocations: 49.98 kB / 431.6 MB, free: 5.379 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2932, allocations: 338.8 kB / 431.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.2933, allocations: 72.53 kB / 432 MB, free: 4.969 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.2935, allocations: 99.58 kB / 432.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.2938, allocations: 182.2 kB / 432.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2938, allocations: 8 kB / 432.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005478/0.2943, allocations: 322.1 kB / 432.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2943, allocations: 4 kB / 432.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.2943, allocations: 0 / 432.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.2946, allocations: 92.78 kB / 432.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.2948, allocations: 47.91 kB / 432.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.297, allocations: 1.981 MB / 434.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.2971, allocations: 11.97 kB / 434.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.2972, allocations: 4 kB / 434.7 MB, free: 2.094 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.0001626/0.2973, allocations: 149.8 kB / 434.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.2974, allocations: 23.86 kB / 434.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.069e-05/0.2974, allocations: 29.95 kB / 434.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2974, allocations: 3.984 kB / 434.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2974, allocations: 4 kB / 435 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2974, allocations: 3.938 kB / 435 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.2985, allocations: 0.7088 MB / 435.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2985, allocations: 0 / 435.7 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.2987, allocations: 35.98 kB / 435.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/0.2989, allocations: 76.73 kB / 435.8 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.2989, allocations: 8 kB / 435.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.3007, allocations: 1.884 MB / 437.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3007, allocations: 3.938 kB / 437.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.3014, allocations: 472.2 kB / 438.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.3014, allocations: 15.89 kB / 438.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.3015, allocations: 8.062 kB / 438.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.3016, allocations: 8 kB / 438.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.3017, allocations: 23.95 kB / 438.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.3017, allocations: 4 kB / 438.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.3018, allocations: 148.4 kB / 438.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3018, allocations: 0 / 438.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003984/0.3022, allocations: 76 kB / 438.4 MB, free: 14.23 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.001053/0.3033, allocations: 0.994 MB / 439.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007056/0.304, allocations: 346.4 kB / 439.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.304, allocations: 0 / 439.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.3044, allocations: 254.6 kB / 440 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.3047, allocations: 32.23 kB / 440 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003831/0.3086, allocations: 2.833 MB / 442.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.309, allocations: 0.7675 MB / 443.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.509e-05/0.3091, allocations: 22.28 kB / 443.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.3092, allocations: 83.41 kB / 443.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3092, allocations: 0 / 443.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04126/0.3505, allocations: 6.047 MB / 449.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.57, allocations: 6.688 kB / 449.8 MB, free: 2.848 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.960370090091601]