Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 103.6 kB / 16.51 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 195.1 kB / 17.42 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 241.1 MB, free: 15.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 48.42 kB / 300.1 MB, free: 6.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1331, allocations: 49.44 MB / 349.5 MB, free: 4.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.0057/0.1389, allocations: 2.857 MB / 352.4 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1405, allocations: 0.6116 MB / 353 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.1409, allocations: 8 kB / 353 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.1414, allocations: 39.69 kB / 353 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005108/0.1419, allocations: 71.38 kB / 353.1 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.1423, allocations: 63.95 kB / 353.1 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006473/0.1429, allocations: 342.9 kB / 353.5 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.1433, allocations: 119.9 kB / 353.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.1436, allocations: 115.6 kB / 353.7 MB, free: 488 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.1439, allocations: 151.3 kB / 353.9 MB, free: 336 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.796e-05/0.144, allocations: 20 kB / 353.9 MB, free: 316 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1441, allocations: 24 kB / 353.9 MB, free: 292 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.508e-05/0.1442, allocations: 63.75 kB / 354 MB, free: 228 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.1445, allocations: 151.2 kB / 354.1 MB, free: 76 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.145, allocations: 343 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.331e-05/0.145, allocations: 4 kB / 354.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.145, allocations: 4 kB / 354.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.145, allocations: 0 / 354.5 MB, free: 15.73 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.001388/0.1464, allocations: 0.5965 MB / 355.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/0.1465, allocations: 8.031 kB / 355.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.1466, allocations: 58.73 kB / 355.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.1467, allocations: 36.56 kB / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.1472, allocations: 255.8 kB / 355.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.1472, allocations: 20.94 kB / 355.4 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.1473, allocations: 32.22 kB / 355.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005277/0.1478, allocations: 257 kB / 355.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1478, allocations: 3.938 kB / 355.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.1479, allocations: 12 kB / 355.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.1479, allocations: 8 kB / 355.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.1483, allocations: 182.2 kB / 355.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.1501, allocations: 1.01 MB / 356.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.1507, allocations: 324.9 kB / 357.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.151, allocations: 148.8 kB / 357.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.151, allocations: 7.922 kB / 357.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.151, allocations: 38.56 kB / 357.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 3.306e-06/0.151, allocations: 4 kB / 357.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001784/0.1528, allocations: 0.7701 MB / 358.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1529, allocations: 59.41 kB / 358.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.1531, allocations: 190.2 kB / 358.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.1532, allocations: 33.64 kB / 358.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1533, allocations: 172.3 kB / 358.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.356e-05/0.1534, allocations: 90.64 kB / 358.7 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-05/0.1535, allocations: 50 kB / 358.8 MB, free: 11.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1536, allocations: 334.8 kB / 359.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.1538, allocations: 72.53 kB / 359.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.154, allocations: 111.6 kB / 359.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.1543, allocations: 182.1 kB / 359.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1543, allocations: 0 / 359.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005753/0.1549, allocations: 318 kB / 359.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1549, allocations: 6.812 kB / 359.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1549, allocations: 4 kB / 359.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/0.1552, allocations: 80.81 kB / 359.9 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.1555, allocations: 51.91 kB / 359.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/0.1582, allocations: 1.897 MB / 361.8 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.1584, allocations: 8.031 kB / 361.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.1585, allocations: 4 kB / 361.8 MB, free: 7.863 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.0002848/0.1588, allocations: 145.7 kB / 362 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.1589, allocations: 19.81 kB / 362 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/0.1589, allocations: 29.86 kB / 362 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1589, allocations: 4 kB / 362 MB, free: 7.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.159, allocations: 4.062 kB / 362 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.159, allocations: 0 / 362 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.1606, allocations: 0.7372 MB / 362.8 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1606, allocations: 4 kB / 362.8 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.1608, allocations: 39.91 kB / 362.8 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002642/0.1611, allocations: 72.73 kB / 362.9 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.1611, allocations: 8 kB / 362.9 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002075/0.1632, allocations: 1.788 MB / 364.7 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1632, allocations: 64 / 364.7 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008191/0.164, allocations: 468 kB / 365.1 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/0.1641, allocations: 100.9 kB / 365.2 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.1642, allocations: 12 kB / 365.2 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.1644, allocations: 15.98 kB / 365.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.1644, allocations: 23.92 kB / 365.3 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1645, allocations: 7.984 kB / 365.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1646, allocations: 140.3 kB / 365.4 MB, free: 4.023 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1646, allocations: 4 kB / 365.4 MB, free: 4.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004817/0.1651, allocations: 72 kB / 365.5 MB, free: 3.949 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.001268/0.1664, allocations: 1.009 MB / 366.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008504/0.1673, allocations: 366.5 kB / 366.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1673, allocations: 0 / 366.9 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000462/0.1677, allocations: 258.9 kB / 367.1 MB, free: 2.273 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.1682, allocations: 42.48 kB / 367.2 MB, free: 2.234 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2228/0.391, allocations: 2.931 MB / 370.1 MB, free: 24.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.3914, allocations: 0.7687 MB / 370.9 MB, free: 23.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.3916, allocations: 19.69 kB / 370.9 MB, free: 23.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.3918, allocations: 84.23 kB / 371 MB, free: 23.64 MB / 302.1 MB Notification: Performance of SimCode: time 1.363e-06/0.3918, allocations: 0 / 371 MB, free: 23.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02348/0.4153, allocations: 5.394 MB / 376.4 MB, free: 23.31 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.02451/0.4399, allocations: 235 kB / 376.6 MB, free: 23.06 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/2.672, allocations: 0 / 376.6 MB, free: 23.06 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches