Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001114/0.001114, allocations: 192 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 226.5 MB / 244.7 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007464/0.0007465, allocations: 104.1 kB / 296.7 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002375/0.0002376, allocations: 11.94 kB / 356.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2313, allocations: 51.29 MB / 408.1 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.001927/0.2332, allocations: 2.4 MB / 410.5 MB, free: 25.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007777/0.234, allocations: 0.6123 MB / 411.1 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.2342, allocations: 4 kB / 411.1 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.797e-05/0.2343, allocations: 39.69 kB / 411.2 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.2344, allocations: 77.31 kB / 411.3 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.2346, allocations: 54.72 kB / 411.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.2348, allocations: 323 kB / 411.6 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.235, allocations: 132 kB / 411.8 MB, free: 24.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.332e-05/0.2351, allocations: 107.6 kB / 411.9 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.2352, allocations: 119.5 kB / 412 MB, free: 23.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.2352, allocations: 16 kB / 412 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.693e-05/0.2353, allocations: 20 kB / 412 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.249e-05/0.2353, allocations: 59.75 kB / 412.1 MB, free: 23.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.2354, allocations: 161 kB / 412.2 MB, free: 23.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.2356, allocations: 256.5 kB / 412.5 MB, free: 23.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2356, allocations: 7.938 kB / 412.5 MB, free: 23.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2356, allocations: 0 / 412.5 MB, free: 23.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2356, allocations: 0 / 412.5 MB, free: 23.32 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.0006115/0.2362, allocations: 0.542 MB / 413 MB, free: 22.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2363, allocations: 8.031 kB / 413 MB, free: 22.72 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.2363, allocations: 70.72 kB / 413.1 MB, free: 22.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.2364, allocations: 32.56 kB / 413.1 MB, free: 22.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.2366, allocations: 255.7 kB / 413.4 MB, free: 22.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.2366, allocations: 20.94 kB / 413.4 MB, free: 22.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.2367, allocations: 32.36 kB / 413.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.2371, allocations: 253 kB / 413.7 MB, free: 22.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2371, allocations: 0 / 413.7 MB, free: 22.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.2371, allocations: 12 kB / 413.7 MB, free: 22.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2371, allocations: 8 kB / 413.7 MB, free: 22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.2374, allocations: 186.2 kB / 413.9 MB, free: 21.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.2386, allocations: 1.021 MB / 414.9 MB, free: 20.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.2389, allocations: 329 kB / 415.2 MB, free: 20.35 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.2391, allocations: 150.5 kB / 415.4 MB, free: 20.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.2391, allocations: 4 kB / 415.4 MB, free: 20.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.2391, allocations: 38.55 kB / 415.4 MB, free: 20.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/0.2391, allocations: 0 / 415.4 MB, free: 20.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.001123/0.2403, allocations: 0.7791 MB / 416.2 MB, free: 19.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.2403, allocations: 55.41 kB / 416.2 MB, free: 19.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2404, allocations: 195.1 kB / 416.4 MB, free: 19.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.2405, allocations: 33.69 kB / 416.5 MB, free: 19.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.2405, allocations: 168.3 kB / 416.6 MB, free: 18.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.2406, allocations: 98.64 kB / 416.7 MB, free: 18.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.2406, allocations: 4 kB / 416.7 MB, free: 18.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.2406, allocations: 330.8 kB / 417.1 MB, free: 18.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.2408, allocations: 76.53 kB / 417.1 MB, free: 18.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.2409, allocations: 103.6 kB / 417.2 MB, free: 18.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.2412, allocations: 182.1 kB / 417.4 MB, free: 18.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2412, allocations: 0 / 417.4 MB, free: 18.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004308/0.2416, allocations: 322.1 kB / 417.7 MB, free: 17.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2416, allocations: 4 kB / 417.7 MB, free: 17.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2416, allocations: 4.062 kB / 417.7 MB, free: 17.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002205/0.2419, allocations: 96.78 kB / 417.8 MB, free: 17.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.242, allocations: 43.92 kB / 417.9 MB, free: 17.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.2434, allocations: 1.897 MB / 419.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.2435, allocations: 8.031 kB / 419.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.2435, allocations: 12 kB / 419.8 MB, free: 15.53 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 9.832e-05/0.2437, allocations: 153.8 kB / 419.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.2437, allocations: 15.81 kB / 420 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.2437, allocations: 25.88 kB / 420 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2438, allocations: 4 kB / 420 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2438, allocations: 0 / 420 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2438, allocations: 8.094 kB / 420 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008115/0.2446, allocations: 0.7486 MB / 420.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2446, allocations: 3.984 kB / 420.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.2448, allocations: 43.86 kB / 420.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001647/0.2449, allocations: 72.8 kB / 420.9 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.245, allocations: 4 kB / 420.9 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.2461, allocations: 1.784 MB / 422.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2461, allocations: 0 / 422.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005137/0.2466, allocations: 480 kB / 423.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.2467, allocations: 88.92 kB / 423.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.2467, allocations: 8.062 kB / 423.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.2469, allocations: 19.98 kB / 423.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.247, allocations: 23.91 kB / 423.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.247, allocations: 8 kB / 423.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.194e-05/0.2471, allocations: 144.3 kB / 423.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2471, allocations: 0 / 423.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003678/0.2474, allocations: 76 kB / 423.5 MB, free: 11.6 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.0006782/0.2481, allocations: 0.9945 MB / 424.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005119/0.2486, allocations: 374.4 kB / 424.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2487, allocations: 0 / 424.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003568/0.249, allocations: 270.4 kB / 425.1 MB, free: 9.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.2494, allocations: 39.67 kB / 425.1 MB, free: 9.879 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.2513, allocations: 1.812 MB / 427 MB, free: 8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.2515, allocations: 0.7675 MB / 427.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.723e-05/0.2516, allocations: 83.41 kB / 427.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2516, allocations: 0 / 427.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.133/3.384, allocations: 4.845 MB / 432.6 MB, free: 2.273 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches