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.009614/0.009614, allocations: 114 kB / 21.97 MB, free: 5.227 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.001884/0.001884, allocations: 212.3 kB / 25.28 MB, free: 3.25 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.482/1.482, allocations: 207.6 MB / 236 MB, free: 9.98 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="cs",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.001727/0.001727, allocations: 47.92 kB / 348 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3065, allocations: 49.15 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003238/0.3097, allocations: 2.794 MB / 399.9 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008981/0.3106, allocations: 0.6605 MB / 400.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.3107, allocations: 5.656 kB / 400.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.3109, allocations: 52.34 kB / 400.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.311, allocations: 91.81 kB / 400.7 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.3112, allocations: 75.66 kB / 400.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.3115, allocations: 352.4 kB / 401.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.3117, allocations: 108.4 kB / 401.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.3118, allocations: 134.2 kB / 401.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.312, allocations: 158.7 kB / 401.6 MB, free: 6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.3121, allocations: 30.66 kB / 401.6 MB, free: 6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.186e-05/0.3121, allocations: 34.97 kB / 401.6 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.835e-05/0.3122, allocations: 63.42 kB / 401.7 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.3123, allocations: 164.5 kB / 401.8 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.3127, allocations: 359.2 kB / 402.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3127, allocations: 0.7969 kB / 402.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3127, allocations: 0 / 402.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.3127, allocations: 0 / 402.2 MB, free: 5.719 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.0007586/0.3134, allocations: 0.5281 MB / 402.7 MB, free: 5.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3135, allocations: 14.17 kB / 402.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.538e-05/0.3135, allocations: 7.75 kB / 402.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.3135, allocations: 63.31 kB / 402.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.75e-05/0.3136, allocations: 36.92 kB / 402.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.3139, allocations: 202.5 kB / 403 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3139, allocations: 20.88 kB / 403.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.3139, allocations: 35.67 kB / 403.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.3143, allocations: 253 kB / 403.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3143, allocations: 0 / 403.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.3144, allocations: 10.19 kB / 403.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3144, allocations: 6.75 kB / 403.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.3147, allocations: 184.2 kB / 403.5 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.316, allocations: 0.9709 MB / 404.5 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.3163, allocations: 167.2 kB / 404.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.3165, allocations: 133.5 kB / 404.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.3165, allocations: 2.188 kB / 404.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.3165, allocations: 33.75 kB / 404.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.262e-06/0.3165, allocations: 0 / 404.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001253/0.3178, allocations: 0.6951 MB / 405.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.3178, allocations: 54.66 kB / 405.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.3179, allocations: 198.9 kB / 405.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.318, allocations: 30.86 kB / 405.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.318, allocations: 178.1 kB / 406 MB, free: 3.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.3181, allocations: 92.34 kB / 406.1 MB, free: 3.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/0.3182, allocations: 54.23 kB / 406.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.852e-05/0.3182, allocations: 335.4 kB / 406.5 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.3183, allocations: 74.39 kB / 406.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3185, allocations: 98.19 kB / 406.6 MB, free: 2.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.3187, allocations: 185 kB / 406.8 MB, free: 2.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3187, allocations: 0 / 406.8 MB, free: 2.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004817/0.3192, allocations: 314.1 kB / 407.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3192, allocations: 5.891 kB / 407.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3192, allocations: 0 / 407.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002516/0.3195, allocations: 99.62 kB / 407.2 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3197, allocations: 41.5 kB / 407.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.3212, allocations: 1.984 MB / 409.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3213, allocations: 7.781 kB / 409.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3213, allocations: 5.5 kB / 409.3 MB, free: 0.7344 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.0001019/0.3214, allocations: 147.5 kB / 409.4 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.3215, allocations: 20 kB / 409.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.297e-05/0.3215, allocations: 35.7 kB / 409.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3215, allocations: 2.75 kB / 409.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3215, allocations: 5.312 kB / 409.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3215, allocations: 2.781 kB / 409.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008977/0.3224, allocations: 0.717 MB / 410.2 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3224, allocations: 0 / 410.2 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.3226, allocations: 48.8 kB / 410.2 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000183/0.3228, allocations: 75.62 kB / 410.3 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3228, allocations: 7.172 kB / 410.3 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.3246, allocations: 1.876 MB / 412.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3246, allocations: 0 / 412.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006808/0.3253, allocations: 471.3 kB / 412.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.3253, allocations: 18.88 kB / 412.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.3253, allocations: 7.391 kB / 412.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3255, allocations: 13.8 kB / 412.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.3256, allocations: 24.64 kB / 412.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3256, allocations: 5.641 kB / 412.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.3257, allocations: 151 kB / 412.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3257, allocations: 0 / 412.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004081/0.3261, allocations: 75.22 kB / 412.9 MB, free: 13.97 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.0009944/0.3271, allocations: 0.994 MB / 413.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006651/0.3278, allocations: 350 kB / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3278, allocations: 3.938 kB / 414.3 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.3282, allocations: 258.1 kB / 414.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3286, allocations: 36.28 kB / 414.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.3322, allocations: 2.817 MB / 417.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.3327, allocations: 0.7674 MB / 418.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.311e-05/0.3328, allocations: 16.59 kB / 418.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.3329, allocations: 85.42 kB / 418.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3329, allocations: 0 / 418.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.3704, allocations: 6.073 MB / 424.3 MB, free: 6.918 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.2, allocations: 6.375 kB / 424.3 MB, free: 6.914 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.859872934001032]