Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",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.0008318/0.0008318, allocations: 171.1 kB / 16.72 MB, free: 4.961 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.197/1.197, 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.0007841/0.0007842, allocations: 85.38 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002842, allocations: 20 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2007, allocations: 47.57 MB / 375.2 MB, free: 45.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004046/0.2048, allocations: 4.95 MB / 380.1 MB, free: 41.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.2065, allocations: 1.166 MB / 381.3 MB, free: 40.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003202/0.2068, allocations: 20.78 kB / 381.3 MB, free: 40.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.2071, allocations: 126.7 kB / 381.4 MB, free: 40.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.2074, allocations: 240 kB / 381.7 MB, free: 40.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.2078, allocations: 160.5 kB / 381.8 MB, free: 39.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007662/0.2086, allocations: 0.991 MB / 382.8 MB, free: 39.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.2091, allocations: 435 kB / 383.3 MB, free: 39.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.2094, allocations: 340.6 kB / 383.6 MB, free: 38.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.2098, allocations: 392.8 kB / 384 MB, free: 38.63 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.862e-05/0.2099, allocations: 51.44 kB / 384 MB, free: 38.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.21, allocations: 50.59 kB / 384.1 MB, free: 38.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.2101, allocations: 153.5 kB / 384.2 MB, free: 38.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003242/0.2105, allocations: 457 kB / 384.7 MB, free: 38.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.211, allocations: 0.805 MB / 385.5 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.211, allocations: 0 / 385.5 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.211, allocations: 5.094 kB / 385.5 MB, free: 37.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.211, allocations: 0 / 385.5 MB, free: 37.59 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.0015/0.2125, allocations: 1.076 MB / 386.5 MB, free: 36.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.2126, allocations: 9.469 kB / 386.6 MB, free: 36.78 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001301/0.2127, allocations: 147.7 kB / 386.7 MB, free: 36.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.2129, allocations: 105.9 kB / 386.8 MB, free: 36.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004566/0.2133, allocations: 456.7 kB / 387.3 MB, free: 36.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/0.2134, allocations: 71.53 kB / 387.3 MB, free: 36.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.2135, allocations: 94.47 kB / 387.4 MB, free: 36.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.2146, allocations: 0.8642 MB / 388.3 MB, free: 35.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.2146, allocations: 3.938 kB / 388.3 MB, free: 35.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/0.2147, allocations: 40 kB / 388.3 MB, free: 35.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.2147, allocations: 24 kB / 388.3 MB, free: 35.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007944/0.2155, allocations: 0.57 MB / 388.9 MB, free: 34.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/0.2187, allocations: 2.987 MB / 391.9 MB, free: 31.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.219, allocations: 299.2 kB / 392.2 MB, free: 31.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.2193, allocations: 277.7 kB / 392.5 MB, free: 30.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.2194, allocations: 4 kB / 392.5 MB, free: 30.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.2194, allocations: 38.56 kB / 392.5 MB, free: 30.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 2.224e-06/0.2194, allocations: 0 / 392.5 MB, free: 30.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.001234/0.2206, allocations: 0.6588 MB / 393.2 MB, free: 30.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.2207, allocations: 59.34 kB / 393.2 MB, free: 30.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003974/0.2211, allocations: 0.5063 MB / 393.7 MB, free: 29.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.2211, allocations: 37.7 kB / 393.8 MB, free: 29.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.2213, allocations: 489.5 kB / 394.2 MB, free: 29.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.09e-05/0.2214, allocations: 157.8 kB / 394.4 MB, free: 28.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.2214, allocations: 16 kB / 394.4 MB, free: 28.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.2215, allocations: 366.8 kB / 394.8 MB, free: 28.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.2217, allocations: 169.9 kB / 394.9 MB, free: 28.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.222, allocations: 449.6 kB / 395.4 MB, free: 27.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.2226, allocations: 0.6557 MB / 396 MB, free: 27.08 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.2226, allocations: 0 / 396 MB, free: 27.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009249/0.2235, allocations: 0.7648 MB / 396.8 MB, free: 26.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2236, allocations: 8 kB / 396.8 MB, free: 26.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2236, allocations: 8 kB / 396.8 MB, free: 26.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002506/0.2238, allocations: 80.97 kB / 396.9 MB, free: 26.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005604/0.2244, allocations: 203.7 kB / 397.1 MB, free: 26.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.2257, allocations: 1.796 MB / 398.9 MB, free: 24.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.2262, allocations: 90.97 kB / 399 MB, free: 23.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.2262, allocations: 40.06 kB / 399 MB, free: 23.95 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0002007/0.2264, allocations: 213.5 kB / 399.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.2265, allocations: 59.34 kB / 399.3 MB, free: 23.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.485e-05/0.2266, allocations: 65.5 kB / 399.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.2266, allocations: 4 kB / 399.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.2266, allocations: 0 / 399.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2266, allocations: 4 kB / 399.4 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005205/0.2271, allocations: 0.653 MB / 400 MB, free: 22.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2271, allocations: 4 kB / 400 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000368/0.2275, allocations: 104.2 kB / 400.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001697/0.2277, allocations: 76.67 kB / 400.2 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.2277, allocations: 8 kB / 400.2 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.2289, allocations: 1.776 MB / 402 MB, free: 20.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2289, allocations: 3.938 kB / 402 MB, free: 20.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/0.2296, allocations: 0.6659 MB / 402.6 MB, free: 20.11 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.2297, allocations: 136.3 kB / 402.8 MB, free: 19.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.2297, allocations: 11.94 kB / 402.8 MB, free: 19.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.2301, allocations: 51.97 kB / 402.8 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.2302, allocations: 31.94 kB / 402.9 MB, free: 19.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.2302, allocations: 12 kB / 402.9 MB, free: 19.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000251/0.2305, allocations: 342.9 kB / 403.2 MB, free: 19.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2305, allocations: 0 / 403.2 MB, free: 19.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006269/0.2311, allocations: 243.2 kB / 403.5 MB, free: 19.28 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,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.0009078/0.232, allocations: 1.22 MB / 404.7 MB, free: 18.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007199/0.2328, allocations: 0.5967 MB / 405.3 MB, free: 17.42 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2328, allocations: 4 kB / 405.3 MB, free: 17.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.2331, allocations: 318.6 kB / 405.6 MB, free: 17.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.2337, allocations: 111.3 kB / 405.7 MB, free: 16.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.2376, allocations: 3.879 MB / 409.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.2379, allocations: 0.94 MB / 410.5 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.2381, allocations: 267.4 kB / 410.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2381, allocations: 0 / 410.8 MB, free: 11.69 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.47/3.709, allocations: 13.09 MB / 423.9 MB, free: 14.58 MB / 314.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches