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.0008062/0.0008061, allocations: 97.94 kB / 17.3 MB, free: 6.078 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.0007642/0.0007643, allocations: 180.2 kB / 18.21 MB, free: 5.395 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.414/1.414, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004645/0.0004645, allocations: 16 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1037, allocations: 47.58 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005462/0.1092, allocations: 5.251 MB / 334.3 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.1117, allocations: 1.181 MB / 335.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003627/0.112, allocations: 23.94 kB / 335.5 MB, free: 13.17 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.1123, allocations: 123 kB / 335.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004783/0.1128, allocations: 242 kB / 335.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.1132, allocations: 187.8 kB / 336.1 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009983/0.1142, allocations: 1.013 MB / 337.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006255/0.1148, allocations: 448.6 kB / 337.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003526/0.1152, allocations: 338.7 kB / 337.8 MB, free: 10.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004528/0.1157, allocations: 405.9 kB / 338.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.289e-05/0.1158, allocations: 52 kB / 338.3 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1159, allocations: 48 kB / 338.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.116, allocations: 167.3 kB / 338.5 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004028/0.1164, allocations: 471.3 kB / 339 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000817/0.1173, allocations: 1.031 MB / 340 MB, free: 8.652 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1173, allocations: 0 / 340 MB, free: 8.652 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1173, allocations: 0 / 340 MB, free: 8.652 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1173, allocations: 4 kB / 340 MB, free: 8.648 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.001737/0.119, allocations: 1.072 MB / 341.1 MB, free: 7.527 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1191, allocations: 11.97 kB / 341.1 MB, free: 7.516 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.1193, allocations: 152.1 kB / 341.2 MB, free: 7.359 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.1194, allocations: 107.7 kB / 341.3 MB, free: 7.254 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.1199, allocations: 443.2 kB / 341.8 MB, free: 6.777 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/0.12, allocations: 70.38 kB / 341.8 MB, free: 6.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.1201, allocations: 104.3 kB / 341.9 MB, free: 6.605 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.1214, allocations: 0.8715 MB / 342.8 MB, free: 5.711 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.1215, allocations: 0 / 342.8 MB, free: 5.711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.478e-05/0.1215, allocations: 40 kB / 342.8 MB, free: 5.672 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/0.1216, allocations: 28 kB / 342.9 MB, free: 5.645 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000972/0.1225, allocations: 0.5739 MB / 343.4 MB, free: 5.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004161/0.1267, allocations: 2.991 MB / 346.4 MB, free: 1.957 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.1272, allocations: 302.4 kB / 346.7 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/0.1276, allocations: 264.8 kB / 347 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.1276, allocations: 8 kB / 347 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.1277, allocations: 46.5 kB / 347 MB, free: 1.328 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 3.136e-06/0.1277, allocations: 0 / 347 MB, free: 1.328 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001475/0.1292, allocations: 0.6703 MB / 347.7 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.1292, allocations: 59.34 kB / 347.8 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/0.1299, allocations: 0.5064 MB / 348.3 MB, free: 44 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.1299, allocations: 37.7 kB / 348.3 MB, free: 0 / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/0.1303, allocations: 489.6 kB / 348.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.1304, allocations: 161.7 kB / 348.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/0.1305, allocations: 65.67 kB / 349 MB, free: 15.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.1307, allocations: 362.8 kB / 349.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.131, allocations: 173.9 kB / 349.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/0.1315, allocations: 453.6 kB / 350 MB, free: 14.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000849/0.1324, allocations: 0.6557 MB / 350.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.1324, allocations: 4 kB / 350.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001263/0.1337, allocations: 0.7649 MB / 351.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1337, allocations: 8 kB / 351.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.1337, allocations: 8 kB / 351.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002969/0.134, allocations: 80.81 kB / 351.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.1347, allocations: 203.9 kB / 351.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.1366, allocations: 1.807 MB / 353.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.1371, allocations: 91.06 kB / 353.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.1371, allocations: 32 kB / 353.6 MB, free: 10.27 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.000353/0.1375, allocations: 221.5 kB / 353.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/0.1376, allocations: 59.34 kB / 353.9 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.1377, allocations: 65.44 kB / 354 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1377, allocations: 4 kB / 354 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.1377, allocations: 4 kB / 354 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.1378, allocations: 3.984 kB / 354 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008027/0.1386, allocations: 0.6492 MB / 354.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1386, allocations: 0 / 354.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.139, allocations: 99.92 kB / 354.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002066/0.1392, allocations: 72.73 kB / 354.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.1392, allocations: 12 kB / 354.8 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/0.141, allocations: 1.796 MB / 356.6 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.141, allocations: 4.359 kB / 356.6 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/0.1419, allocations: 0.662 MB / 357.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.142, allocations: 140.4 kB / 357.4 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.1421, allocations: 7.938 kB / 357.4 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.1425, allocations: 59.91 kB / 357.5 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.1426, allocations: 23.91 kB / 357.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.1426, allocations: 15.98 kB / 357.5 MB, free: 6.141 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003686/0.143, allocations: 350.9 kB / 357.9 MB, free: 5.801 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.143, allocations: 0 / 357.9 MB, free: 5.801 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007685/0.1438, allocations: 243.2 kB / 358.1 MB, free: 5.562 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.00129/0.1451, allocations: 1.214 MB / 359.3 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.1461, allocations: 0.601 MB / 359.9 MB, free: 3.699 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1461, allocations: 0 / 359.9 MB, free: 3.699 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.1466, allocations: 330.1 kB / 360.2 MB, free: 3.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/0.1472, allocations: 115.1 kB / 360.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007149/0.1544, allocations: 6.077 MB / 366.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.1549, allocations: 0.922 MB / 367.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003394/0.1553, allocations: 73.2 kB / 367.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.1556, allocations: 259.4 kB / 367.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of SimCode: time 3.376e-06/0.1556, allocations: 0 / 367.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.207/0.3626, allocations: 11.96 MB / 379.6 MB, free: 50.2 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.3628, allocations: 225.7 kB / 379.8 MB, free: 49.94 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.421, allocations: 0.875 kB / 379.8 MB, free: 49.94 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