Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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 3.2.3+maint.om/package.mo", uses=false) 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 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.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",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.00136/0.00136, allocations: 115.9 kB / 17.28 MB, free: 6.219 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.001262/0.001263, allocations: 193.3 kB / 18.19 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 224.1 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 47.92 kB / 280.2 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09422, allocations: 46.63 MB / 326.9 MB, free: 4.703 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006441/0.1007, allocations: 5.711 MB / 332.6 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.103, allocations: 1.193 MB / 333.8 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000358/0.1034, allocations: 16 kB / 333.8 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.1038, allocations: 127 kB / 333.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005128/0.1043, allocations: 242 kB / 334.2 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.1047, allocations: 187.8 kB / 334.3 MB, free: 13.19 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009778/0.1057, allocations: 1.056 MB / 335.4 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006954/0.1064, allocations: 0.5181 MB / 335.9 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003866/0.1068, allocations: 410.7 kB / 336.3 MB, free: 11.19 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005059/0.1073, allocations: 477.9 kB / 336.8 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.1075, allocations: 100 kB / 336.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1076, allocations: 96 kB / 337 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001671/0.1078, allocations: 219.3 kB / 337.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.1082, allocations: 0.5015 MB / 337.7 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008406/0.109, allocations: 1.098 MB / 338.8 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.109, allocations: 0 / 338.8 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1091, allocations: 3.938 kB / 338.8 MB, free: 8.707 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1091, allocations: 0 / 338.8 MB, free: 8.707 MB / 286.1 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.001759/0.1108, allocations: 1.232 MB / 340 MB, free: 7.426 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.1109, allocations: 12.03 kB / 340 MB, free: 7.414 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001559/0.1111, allocations: 148.1 kB / 340.2 MB, free: 7.262 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.1112, allocations: 103.7 kB / 340.3 MB, free: 7.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/0.1118, allocations: 447.2 kB / 340.7 MB, free: 6.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/0.1118, allocations: 74.38 kB / 340.8 MB, free: 6.605 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.112, allocations: 100.3 kB / 340.9 MB, free: 6.508 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.1132, allocations: 0.8715 MB / 341.8 MB, free: 5.613 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.1132, allocations: 4 kB / 341.8 MB, free: 5.609 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.1133, allocations: 36 kB / 341.8 MB, free: 5.574 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.1134, allocations: 24 kB / 341.8 MB, free: 5.551 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/0.1142, allocations: 0.5739 MB / 342.4 MB, free: 4.973 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.1181, allocations: 2.968 MB / 345.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.1185, allocations: 302.3 kB / 345.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.1189, allocations: 272.8 kB / 345.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1189, allocations: 4 kB / 345.9 MB, free: 1.305 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.119, allocations: 42.5 kB / 346 MB, free: 1.254 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 2.174e-06/0.119, allocations: 0 / 346 MB, free: 1.254 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001382/0.1204, allocations: 0.6548 MB / 346.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.1204, allocations: 63.34 kB / 346.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.121, allocations: 0.5065 MB / 347.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.121, allocations: 29.7 kB / 347.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.1213, allocations: 489.5 kB / 347.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.1214, allocations: 157.8 kB / 347.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.1216, allocations: 134.5 kB / 348 MB, free: 15.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1217, allocations: 366.8 kB / 348.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.122, allocations: 169.9 kB / 348.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.1225, allocations: 453.6 kB / 349 MB, free: 14.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007652/0.1232, allocations: 0.6479 MB / 349.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1233, allocations: 0 / 349.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001093/0.1244, allocations: 0.7605 MB / 350.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1244, allocations: 8.688 kB / 350.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1244, allocations: 8 kB / 350.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002983/0.1247, allocations: 96.69 kB / 350.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005976/0.1253, allocations: 195.7 kB / 350.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.1272, allocations: 2.006 MB / 352.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.1276, allocations: 83.06 kB / 352.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.1276, allocations: 39.94 kB / 352.8 MB, free: 9.953 MB / 302.1 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 (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 prepare postOptimizeDAE: time 0.000251/0.1279, allocations: 217.6 kB / 353 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.021e-05/0.128, allocations: 59.28 kB / 353.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.306e-05/0.1281, allocations: 69.5 kB / 353.1 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1281, allocations: 4 kB / 353.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.1281, allocations: 0 / 353.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1281, allocations: 3.984 kB / 353.1 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/0.1288, allocations: 0.6375 MB / 353.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1288, allocations: 0 / 353.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/0.1292, allocations: 107.9 kB / 353.9 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001833/0.1294, allocations: 69.08 kB / 353.9 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.1294, allocations: 7.938 kB / 354 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.1311, allocations: 1.986 MB / 355.9 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1311, allocations: 0 / 355.9 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008809/0.132, allocations: 0.6696 MB / 356.6 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.1322, allocations: 136.4 kB / 356.7 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.376e-05/0.1322, allocations: 12 kB / 356.8 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003639/0.1326, allocations: 43.95 kB / 356.8 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.1327, allocations: 23.97 kB / 356.8 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.1327, allocations: 23.98 kB / 356.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003391/0.133, allocations: 338.9 kB / 357.2 MB, free: 5.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.1331, allocations: 0 / 357.2 MB, free: 5.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007182/0.1338, allocations: 255.1 kB / 357.4 MB, free: 5.074 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,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 (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.001222/0.135, allocations: 1.217 MB / 358.6 MB, free: 3.824 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.136, allocations: 0.6042 MB / 359.2 MB, free: 3.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.136, allocations: 0 / 359.2 MB, free: 3.203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.1365, allocations: 320.2 kB / 359.6 MB, free: 2.879 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005921/0.1371, allocations: 122.4 kB / 359.7 MB, free: 2.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007055/0.1442, allocations: 5.987 MB / 365.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.1447, allocations: 0.9298 MB / 366.6 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003093/0.145, allocations: 69.22 kB / 366.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.1453, allocations: 263.4 kB / 366.9 MB, free: 11.14 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1453, allocations: 0 / 366.9 MB, free: 11.14 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.961/2.106, allocations: 12.45 MB / 379.4 MB, free: 52.89 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/2.107, allocations: 230.6 kB / 379.6 MB, free: 52.64 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/4.698, allocations: 9 kB / 379.6 MB, free: 52.64 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches