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.0007951/0.0007952, allocations: 91.8 kB / 16.65 MB, free: 6.535 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.001031/0.001031, allocations: 177.8 kB / 17.56 MB, free: 6.18 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.559/1.559, allocations: 223.3 MB / 241.6 MB, free: 120 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 8 kB / 301.5 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1057, allocations: 50.42 MB / 351.9 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003145/0.1089, allocations: 2.475 MB / 354.4 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001227/0.1101, allocations: 0.6077 MB / 355 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.1104, allocations: 4 kB / 355 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.1106, allocations: 35.69 kB / 355.1 MB, free: 484 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.1109, allocations: 79.36 kB / 355.1 MB, free: 404 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.1111, allocations: 59.95 kB / 355.2 MB, free: 344 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00046/0.1116, allocations: 342.9 kB / 355.5 MB, free: 0 / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.1119, allocations: 119.9 kB / 355.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1121, allocations: 111.5 kB / 355.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.1123, allocations: 127.3 kB / 355.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.1124, allocations: 16 kB / 355.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.483e-05/0.1125, allocations: 16 kB / 355.9 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.1125, allocations: 55.75 kB / 356 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001671/0.1127, allocations: 168.9 kB / 356.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.113, allocations: 334.9 kB / 356.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.113, allocations: 0 / 356.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.113, allocations: 0 / 356.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.1131, allocations: 0 / 356.5 MB, free: 15.06 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.0008945/0.114, allocations: 0.5497 MB / 357 MB, free: 14.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.114, allocations: 8.031 kB / 357 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.768e-05/0.1141, allocations: 70.72 kB / 357.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.945e-05/0.1142, allocations: 32.56 kB / 357.1 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.1145, allocations: 251.8 kB / 357.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.1146, allocations: 24.88 kB / 357.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.1146, allocations: 28.38 kB / 357.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.1151, allocations: 253 kB / 357.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1151, allocations: 0 / 357.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.1152, allocations: 12 kB / 357.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1152, allocations: 8 kB / 357.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.1156, allocations: 194.2 kB / 357.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.1172, allocations: 1.025 MB / 358.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.1176, allocations: 328.9 kB / 359.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.1178, allocations: 151.5 kB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.1179, allocations: 0 / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1179, allocations: 42.56 kB / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.1179, allocations: 0 / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001484/0.1194, allocations: 0.7861 MB / 360.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.1195, allocations: 51.41 kB / 360.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.1196, allocations: 194.1 kB / 360.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1197, allocations: 33.7 kB / 360.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1198, allocations: 168.3 kB / 360.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.999e-05/0.1199, allocations: 106.6 kB / 360.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.1199, allocations: 25.72 kB / 360.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.12, allocations: 334.8 kB / 361.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.1202, allocations: 72.53 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.1204, allocations: 107.6 kB / 361.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.1207, allocations: 190.1 kB / 361.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1207, allocations: 0 / 361.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005516/0.1212, allocations: 318 kB / 361.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1213, allocations: 8.031 kB / 361.8 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1213, allocations: 4 kB / 361.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002649/0.1216, allocations: 80.81 kB / 361.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.1218, allocations: 55.84 kB / 361.9 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.1237, allocations: 1.889 MB / 363.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.1238, allocations: 8.031 kB / 363.8 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1238, allocations: 8.156 kB / 363.8 MB, free: 7.211 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.000141/0.124, allocations: 141.7 kB / 363.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.124, allocations: 19.72 kB / 364 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.1241, allocations: 37.86 kB / 364 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1241, allocations: 8.062 kB / 364 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1241, allocations: 0 / 364 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1241, allocations: 4 kB / 364 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.1252, allocations: 0.7411 MB / 364.8 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1253, allocations: 4 kB / 364.8 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.1254, allocations: 51.83 kB / 364.8 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001939/0.1256, allocations: 68.8 kB / 364.9 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.1257, allocations: 12 kB / 364.9 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.1274, allocations: 1.788 MB / 366.7 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1274, allocations: 0 / 366.7 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/0.1281, allocations: 480 kB / 367.1 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.1282, allocations: 92.91 kB / 367.2 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.1282, allocations: 8.062 kB / 367.2 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.1284, allocations: 12 kB / 367.3 MB, free: 3.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.1285, allocations: 23.91 kB / 367.3 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1285, allocations: 7.984 kB / 367.3 MB, free: 3.488 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1286, allocations: 148.3 kB / 367.4 MB, free: 3.344 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1286, allocations: 0 / 367.4 MB, free: 3.344 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004245/0.1291, allocations: 76 kB / 367.5 MB, free: 3.27 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.0009887/0.1301, allocations: 1.011 MB / 368.5 MB, free: 2.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006709/0.1307, allocations: 366.5 kB / 368.9 MB, free: 1.859 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1308, allocations: 0 / 368.9 MB, free: 1.859 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.1312, allocations: 270.8 kB / 369.1 MB, free: 1.582 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.1317, allocations: 39.98 kB / 369.2 MB, free: 1.543 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1913/0.323, allocations: 3.035 MB / 372.2 MB, free: 23.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.3233, allocations: 0.7718 MB / 373 MB, free: 22.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.3235, allocations: 20 kB / 373 MB, free: 22.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.3236, allocations: 81.38 kB / 373.1 MB, free: 22.46 MB / 302.1 MB Notification: Performance of SimCode: time 1.723e-06/0.3236, allocations: 0 / 373.1 MB, free: 22.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.3481, allocations: 5.279 MB / 378.4 MB, free: 22.21 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.3484, allocations: 226.9 kB / 378.6 MB, free: 21.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.402, allocations: 7.875 kB / 378.6 MB, free: 21.95 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