Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001245, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.579/1.579, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 72.42 kB / 306.4 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1284, allocations: 50.53 MB / 356.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004096/0.1326, allocations: 2.874 MB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1339, allocations: 0.6428 MB / 360.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002859/0.1342, allocations: 4 kB / 360.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.1345, allocations: 35.69 kB / 360.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.1348, allocations: 75.38 kB / 360.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.1351, allocations: 67.95 kB / 360.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004853/0.1356, allocations: 338.9 kB / 360.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000268/0.1359, allocations: 115.9 kB / 361 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.1361, allocations: 131.5 kB / 361.2 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.1364, allocations: 139.4 kB / 361.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.835e-05/0.1364, allocations: 31.88 kB / 361.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.714e-05/0.1365, allocations: 20 kB / 361.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.1366, allocations: 55.83 kB / 361.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.1368, allocations: 151.2 kB / 361.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.1372, allocations: 354.9 kB / 361.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1372, allocations: 0 / 361.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1372, allocations: 0 / 361.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.583e-05/0.1372, allocations: 4 kB / 361.9 MB, free: 9.152 MB / 302.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.001053/0.1383, allocations: 0.5887 MB / 362.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.1383, allocations: 16.03 kB / 362.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.727e-05/0.1384, allocations: 70.7 kB / 362.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.05e-05/0.1385, allocations: 32.56 kB / 362.6 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.1388, allocations: 255.8 kB / 362.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.1389, allocations: 20.94 kB / 362.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.271e-05/0.1389, allocations: 36.27 kB / 362.9 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.1394, allocations: 249 kB / 363.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1394, allocations: 0 / 363.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.1395, allocations: 12 kB / 363.2 MB, free: 7.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1395, allocations: 8 kB / 363.2 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.1399, allocations: 186.2 kB / 363.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.1416, allocations: 1.014 MB / 364.4 MB, free: 6.504 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.1421, allocations: 336.4 kB / 364.7 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.1424, allocations: 148.7 kB / 364.8 MB, free: 5.984 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.1424, allocations: 4 kB / 364.8 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1424, allocations: 34.56 kB / 364.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.1424, allocations: 0 / 364.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001686/0.1441, allocations: 0.7692 MB / 365.6 MB, free: 5.113 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.1442, allocations: 55.39 kB / 365.7 MB, free: 5.047 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.1444, allocations: 199 kB / 365.9 MB, free: 4.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.1445, allocations: 29.7 kB / 365.9 MB, free: 4.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1446, allocations: 168.2 kB / 366.1 MB, free: 4.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/0.1447, allocations: 94.69 kB / 366.2 MB, free: 4.543 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.662e-05/0.1448, allocations: 45.98 kB / 366.2 MB, free: 4.492 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.145, allocations: 330.8 kB / 366.5 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.1451, allocations: 76.52 kB / 366.6 MB, free: 4.086 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.1453, allocations: 103.6 kB / 366.7 MB, free: 3.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.1456, allocations: 182.1 kB / 366.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1456, allocations: 4 kB / 366.9 MB, free: 3.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006394/0.1463, allocations: 318 kB / 367.2 MB, free: 3.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.1463, allocations: 7.984 kB / 367.2 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1463, allocations: 0 / 367.2 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.1466, allocations: 88.75 kB / 367.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.1468, allocations: 39.92 kB / 367.3 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.1489, allocations: 1.897 MB / 369.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.149, allocations: 7.984 kB / 369.3 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.149, allocations: 8.031 kB / 369.3 MB, free: 1.289 MB / 302.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.0001404/0.1492, allocations: 149.7 kB / 369.4 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.1492, allocations: 15.81 kB / 369.4 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.1493, allocations: 25.88 kB / 369.4 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1493, allocations: 4 kB / 369.5 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.1493, allocations: 4 kB / 369.5 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1493, allocations: 8.047 kB / 369.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.1504, allocations: 0.7489 MB / 370.2 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1504, allocations: 0 / 370.2 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.1506, allocations: 47.86 kB / 370.3 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002061/0.1508, allocations: 68.8 kB / 370.3 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.1508, allocations: 4 kB / 370.3 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2242/0.375, allocations: 1.782 MB / 372.1 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.375, allocations: 1.594 kB / 372.1 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000798/0.3759, allocations: 464.6 kB / 372.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.3759, allocations: 92.94 kB / 372.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.376, allocations: 6.359 kB / 372.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.3762, allocations: 17.16 kB / 372.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.3763, allocations: 21.84 kB / 372.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.3763, allocations: 5.5 kB / 372.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.3764, allocations: 145.7 kB / 372.9 MB, free: 18.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3765, allocations: 4.562 kB / 372.9 MB, free: 18.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005088/0.377, allocations: 77.84 kB / 372.9 MB, free: 18.3 MB / 302.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.0008665/0.3778, allocations: 0.9976 MB / 373.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006982/0.3786, allocations: 366.4 kB / 374.3 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3786, allocations: 4.906 kB / 374.3 MB, free: 17.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.379, allocations: 259.2 kB / 374.5 MB, free: 17.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.3795, allocations: 35.36 kB / 374.6 MB, free: 17.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.3829, allocations: 2.953 MB / 377.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.3831, allocations: 0.7621 MB / 378.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.407e-05/0.3832, allocations: 25.09 kB / 378.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.3833, allocations: 80.89 kB / 378.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3833, allocations: 3.828 kB / 378.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.4013, allocations: 5.391 MB / 383.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001266/0.4014, allocations: 230.8 kB / 384 MB, free: 13.82 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.251, allocations: 0 / 384 MB, free: 13.82 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches