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.0009686/0.0009687, allocations: 103.4 kB / 17.16 MB, free: 6.32 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.0009617/0.0009617, allocations: 190 kB / 18.07 MB, free: 5.414 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.358/1.358, allocations: 205.1 MB / 223.9 MB, free: 12.49 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.001129/0.001129, allocations: 55.92 kB / 280.1 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07862/0.07977, allocations: 46.61 MB / 326.7 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005502/0.08531, allocations: 5.726 MB / 332.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.08739, allocations: 1.193 MB / 333.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/0.08781, allocations: 16 kB / 333.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003804/0.08824, allocations: 123 kB / 333.7 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.08872, allocations: 234 kB / 334 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.08913, allocations: 199.8 kB / 334.2 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008577/0.08999, allocations: 1.017 MB / 335.2 MB, free: 12.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006513/0.09065, allocations: 440.6 kB / 335.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004333/0.0911, allocations: 398.6 kB / 336 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005035/0.09161, allocations: 453.9 kB / 336.4 MB, free: 10.97 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.09173, allocations: 76 kB / 336.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.09188, allocations: 72 kB / 336.6 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.09213, allocations: 191.2 kB / 336.8 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004395/0.09258, allocations: 493.6 kB / 337.3 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008746/0.09346, allocations: 1.059 MB / 338.3 MB, free: 9.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.09348, allocations: 0 / 338.3 MB, free: 9.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09349, allocations: 4 kB / 338.3 MB, free: 9.086 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.09351, allocations: 0 / 338.3 MB, free: 9.086 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.002038/0.09556, allocations: 1.232 MB / 339.6 MB, free: 7.805 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.09563, allocations: 15.97 kB / 339.6 MB, free: 7.789 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001711/0.09581, allocations: 148.1 kB / 339.7 MB, free: 7.637 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.09604, allocations: 107.7 kB / 339.8 MB, free: 7.531 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005964/0.09664, allocations: 439.2 kB / 340.2 MB, free: 7.059 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/0.09672, allocations: 74.38 kB / 340.3 MB, free: 6.984 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.09685, allocations: 100.2 kB / 340.4 MB, free: 6.887 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.09822, allocations: 0.8715 MB / 341.3 MB, free: 5.992 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.09826, allocations: 4 kB / 341.3 MB, free: 5.988 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-05/0.09834, allocations: 39.94 kB / 341.3 MB, free: 5.949 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.09837, allocations: 24 kB / 341.4 MB, free: 5.926 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009932/0.09937, allocations: 0.5738 MB / 341.9 MB, free: 5.352 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004172/0.1035, allocations: 2.968 MB / 344.9 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.104, allocations: 306.2 kB / 345.2 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.1044, allocations: 264.8 kB / 345.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1044, allocations: 7.984 kB / 345.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.1045, allocations: 38.56 kB / 345.5 MB, free: 1.637 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 3.747e-06/0.1045, allocations: 4 kB / 345.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.0015/0.106, allocations: 0.647 MB / 346.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.1061, allocations: 67.28 kB / 346.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/0.1067, allocations: 0.5104 MB / 346.7 MB, free: 368 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.1067, allocations: 29.7 kB / 346.8 MB, free: 332 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.1071, allocations: 493.7 kB / 347.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.1072, allocations: 153.8 kB / 347.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.1074, allocations: 134.5 kB / 347.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1075, allocations: 366.8 kB / 347.9 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.1078, allocations: 169.9 kB / 348 MB, free: 15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.1084, allocations: 453.6 kB / 348.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007844/0.1091, allocations: 0.6596 MB / 349.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.1092, allocations: 4 kB / 349.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00124/0.1104, allocations: 0.7533 MB / 349.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.1105, allocations: 8 kB / 349.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.1105, allocations: 11.94 kB / 349.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002954/0.1108, allocations: 80.81 kB / 350 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/0.1114, allocations: 195.9 kB / 350.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.1136, allocations: 1.815 MB / 352 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005704/0.1142, allocations: 83.06 kB / 352.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.1142, allocations: 35.98 kB / 352.1 MB, free: 10.53 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.0004041/0.1147, allocations: 225.5 kB / 352.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.1148, allocations: 63.28 kB / 352.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.44e-05/0.1149, allocations: 57.52 kB / 352.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1149, allocations: 8 kB / 352.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.1149, allocations: 3.984 kB / 352.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1149, allocations: 0 / 352.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007722/0.1157, allocations: 0.6453 MB / 353.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1157, allocations: 0 / 353.1 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/0.1161, allocations: 95.88 kB / 353.2 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002154/0.1164, allocations: 72.8 kB / 353.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.1164, allocations: 8 kB / 353.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001611/0.118, allocations: 1.792 MB / 355.1 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.118, allocations: 8.094 kB / 355.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008845/0.1189, allocations: 0.6541 MB / 355.7 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.119, allocations: 140.4 kB / 355.9 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.1191, allocations: 11.94 kB / 355.9 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.1195, allocations: 47.97 kB / 355.9 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.1195, allocations: 23.95 kB / 356 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.1196, allocations: 12 kB / 356 MB, free: 6.438 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003308/0.1199, allocations: 350.9 kB / 356.3 MB, free: 6.098 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.024e-06/0.1199, allocations: 4 kB / 356.3 MB, free: 6.094 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007714/0.1207, allocations: 247.2 kB / 356.6 MB, free: 5.852 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.001157/0.1219, allocations: 1.214 MB / 357.8 MB, free: 4.605 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009066/0.1228, allocations: 0.5972 MB / 358.4 MB, free: 3.992 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1228, allocations: 0 / 358.4 MB, free: 3.992 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.1232, allocations: 318.2 kB / 358.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/0.1239, allocations: 122.8 kB / 358.8 MB, free: 3.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/0.1308, allocations: 5.981 MB / 364.8 MB, free: 13.22 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.1312, allocations: 0.9337 MB / 365.7 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000326/0.1316, allocations: 73.16 kB / 365.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.1319, allocations: 267.4 kB / 366.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1319, allocations: 3.938 kB / 366.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1593/0.2912, allocations: 12.1 MB / 378.2 MB, free: 50.85 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.2915, allocations: 224.4 kB / 378.4 MB, free: 50.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/2.463, allocations: 1.203 kB / 378.4 MB, free: 50.59 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