Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008445/0.0008445, allocations: 173.8 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006937/0.0006937, allocations: 90.34 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003076, allocations: 19.98 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2015, allocations: 47.58 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002044/0.2036, allocations: 2.342 MB / 377.5 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00078/0.2044, allocations: 0.6272 MB / 378.2 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.2045, allocations: 5.438 kB / 378.2 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.2046, allocations: 36 kB / 378.2 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.2048, allocations: 80.94 kB / 378.3 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001421/0.2049, allocations: 56.41 kB / 378.3 MB, free: 42.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.2052, allocations: 329.7 kB / 378.7 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.2054, allocations: 124.2 kB / 378.8 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.2055, allocations: 106.7 kB / 378.9 MB, free: 42.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.2056, allocations: 119.7 kB / 379 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.2057, allocations: 16.03 kB / 379 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.659e-05/0.2057, allocations: 16.81 kB / 379 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.614e-05/0.2058, allocations: 55.41 kB / 379.1 MB, free: 42.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.2059, allocations: 163.3 kB / 379.2 MB, free: 42.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.2061, allocations: 262.1 kB / 379.5 MB, free: 42.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2061, allocations: 3.938 kB / 379.5 MB, free: 42.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2061, allocations: 0 / 379.5 MB, free: 42.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.2061, allocations: 0.9688 kB / 379.5 MB, free: 42.14 MB / 298.7 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.0006299/0.2067, allocations: 0.5391 MB / 380 MB, free: 41.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2068, allocations: 9 kB / 380.1 MB, free: 41.65 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.467e-05/0.2069, allocations: 64.36 kB / 380.1 MB, free: 41.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.12e-05/0.2069, allocations: 32.69 kB / 380.1 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.2071, allocations: 261 kB / 380.4 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.2071, allocations: 20.31 kB / 380.4 MB, free: 41.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.16e-05/0.2072, allocations: 31.44 kB / 380.5 MB, free: 41.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.2076, allocations: 256.6 kB / 380.7 MB, free: 41.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2076, allocations: 1.281 kB / 380.7 MB, free: 41.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.2076, allocations: 11.62 kB / 380.7 MB, free: 41.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.2076, allocations: 7.031 kB / 380.7 MB, free: 41.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.208, allocations: 185.1 kB / 380.9 MB, free: 41.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.2092, allocations: 1.023 MB / 381.9 MB, free: 40.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.2095, allocations: 332.6 kB / 382.3 MB, free: 39.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002093/0.2098, allocations: 143 kB / 382.4 MB, free: 39.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.2098, allocations: 6.812 kB / 382.4 MB, free: 39.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.2098, allocations: 36.16 kB / 382.4 MB, free: 39.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.2098, allocations: 0 / 382.4 MB, free: 39.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001297/0.2111, allocations: 0.7832 MB / 383.2 MB, free: 39.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.2112, allocations: 58.12 kB / 383.3 MB, free: 39.17 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.2113, allocations: 191.6 kB / 383.5 MB, free: 39.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.2113, allocations: 31.05 kB / 383.5 MB, free: 38.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.2114, allocations: 174.5 kB / 383.7 MB, free: 38.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.2115, allocations: 93.36 kB / 383.8 MB, free: 38.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.2115, allocations: 5.188 kB / 383.8 MB, free: 38.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.2115, allocations: 335.6 kB / 384.1 MB, free: 38.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.2117, allocations: 71.25 kB / 384.2 MB, free: 38.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.2118, allocations: 105.1 kB / 384.3 MB, free: 38.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.2121, allocations: 192.2 kB / 384.4 MB, free: 38.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2121, allocations: 0 / 384.4 MB, free: 38.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004769/0.2126, allocations: 320.2 kB / 384.8 MB, free: 38.04 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2127, allocations: 6.594 kB / 384.8 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2127, allocations: 0 / 384.8 MB, free: 38.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.2129, allocations: 82.72 kB / 384.8 MB, free: 38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.2131, allocations: 52 kB / 384.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.2147, allocations: 1.897 MB / 386.8 MB, free: 36.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.2148, allocations: 11.28 kB / 386.8 MB, free: 36.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.2148, allocations: 11 kB / 386.8 MB, free: 36.24 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.2149, allocations: 144.2 kB / 387 MB, free: 36.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.215, allocations: 18.53 kB / 387 MB, free: 36.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.215, allocations: 29.98 kB / 387 MB, free: 36.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.215, allocations: 2.125 kB / 387 MB, free: 36.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.2151, allocations: 2.094 kB / 387 MB, free: 36.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.2151, allocations: 0.9688 kB / 387 MB, free: 36.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009018/0.216, allocations: 0.7552 MB / 387.8 MB, free: 35.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.216, allocations: 0 / 387.8 MB, free: 35.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.2162, allocations: 43.31 kB / 387.8 MB, free: 35.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001779/0.2164, allocations: 79.23 kB / 387.9 MB, free: 35.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.2164, allocations: 6.594 kB / 387.9 MB, free: 35.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.2175, allocations: 1.779 MB / 389.7 MB, free: 33.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2175, allocations: 0 / 389.7 MB, free: 33.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.218, allocations: 463.8 kB / 390.1 MB, free: 33.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.2181, allocations: 104.9 kB / 390.2 MB, free: 32.92 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.2181, allocations: 7.938 kB / 390.2 MB, free: 32.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.2183, allocations: 12.12 kB / 390.2 MB, free: 32.9 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.2183, allocations: 27.91 kB / 390.3 MB, free: 32.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.2184, allocations: 11.98 kB / 390.3 MB, free: 32.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.806e-05/0.2184, allocations: 140.3 kB / 390.4 MB, free: 32.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2184, allocations: 0 / 390.4 MB, free: 32.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003672/0.2188, allocations: 80 kB / 390.5 MB, free: 32.65 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006888/0.2195, allocations: 1.006 MB / 391.5 MB, free: 31.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005093/0.22, allocations: 370.4 kB / 391.9 MB, free: 31.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.2201, allocations: 0 / 391.9 MB, free: 31.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.2204, allocations: 254.5 kB / 392.1 MB, free: 30.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.2208, allocations: 41.86 kB / 392.2 MB, free: 30.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/0.2226, allocations: 1.817 MB / 394 MB, free: 29.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001558/0.2228, allocations: 0.7636 MB / 394.7 MB, free: 28.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.59e-05/0.2229, allocations: 83.41 kB / 394.8 MB, free: 28.19 MB / 298.7 MB Notification: Performance of SimCode: time 8.41e-07/0.2229, allocations: 0 / 394.8 MB, free: 28.19 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.139/3.362, allocations: 4.851 MB / 399.7 MB, free: 23.33 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches