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.001333/0.001333, allocations: 98.88 kB / 17.58 MB, free: 5.418 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.001231/0.001232, allocations: 187.9 kB / 18.51 MB, free: 4.5 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.807/1.807, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001723/0.001723, allocations: 48.52 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.141, allocations: 46.64 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.008232/0.1493, allocations: 5.7 MB / 333.1 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003611/0.1529, allocations: 1.201 MB / 334.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.1543, allocations: 27.88 kB / 334.3 MB, free: 13.4 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009573/0.1554, allocations: 170.3 kB / 334.5 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.1573, allocations: 273.5 kB / 334.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009804/0.1583, allocations: 223.7 kB / 335 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.1602, allocations: 1.052 MB / 336 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.1614, allocations: 0.5181 MB / 336.5 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009396/0.1624, allocations: 418.6 kB / 336.9 MB, free: 10.74 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009398/0.1633, allocations: 473.9 kB / 337.4 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002761/0.1636, allocations: 96 kB / 337.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.164, allocations: 96 kB / 337.6 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.1642, allocations: 219.3 kB / 337.8 MB, free: 9.871 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008667/0.1651, allocations: 0.5054 MB / 338.3 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.1664, allocations: 1.086 MB / 339.4 MB, free: 8.273 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.1664, allocations: 4 kB / 339.4 MB, free: 8.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1664, allocations: 0 / 339.4 MB, free: 8.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.995e-05/0.1665, allocations: 4 kB / 339.4 MB, free: 8.266 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.002562/0.169, allocations: 1.236 MB / 340.6 MB, free: 6.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.1691, allocations: 12.02 kB / 340.6 MB, free: 6.969 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/0.1693, allocations: 144.1 kB / 340.8 MB, free: 6.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.1695, allocations: 103.7 kB / 340.9 MB, free: 6.719 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00075/0.1703, allocations: 455.2 kB / 341.3 MB, free: 6.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.278e-05/0.1704, allocations: 70.38 kB / 341.4 MB, free: 6.16 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.1705, allocations: 92.28 kB / 341.5 MB, free: 6.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.1719, allocations: 0.8754 MB / 342.4 MB, free: 5.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.1719, allocations: 0 / 342.4 MB, free: 5.172 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.172, allocations: 40 kB / 342.4 MB, free: 5.133 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.1721, allocations: 24 kB / 342.4 MB, free: 5.109 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009767/0.173, allocations: 0.57 MB / 343 MB, free: 4.535 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00474/0.1778, allocations: 2.976 MB / 346 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.1783, allocations: 298.3 kB / 346.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.1787, allocations: 276.6 kB / 346.5 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.1788, allocations: 4 kB / 346.5 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.1788, allocations: 38.56 kB / 346.6 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 2.535e-06/0.1788, allocations: 3.938 kB / 346.6 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001722/0.1805, allocations: 0.6472 MB / 347.2 MB, free: 136 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.1806, allocations: 59.34 kB / 347.3 MB, free: 64 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007487/0.1814, allocations: 0.5065 MB / 347.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.1815, allocations: 37.7 kB / 347.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/0.1819, allocations: 489.5 kB / 348.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.1821, allocations: 153.8 kB / 348.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.1824, allocations: 146.4 kB / 348.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003387/0.1827, allocations: 362.8 kB / 349 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.1831, allocations: 165.9 kB / 349.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000693/0.1838, allocations: 457.6 kB / 349.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.185, allocations: 0.6478 MB / 350.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.028e-05/0.185, allocations: 8 kB / 350.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001703/0.1867, allocations: 0.7572 MB / 351 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.1868, allocations: 8 kB / 351 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.1868, allocations: 8 kB / 351 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/0.1872, allocations: 88.75 kB / 351.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.1879, allocations: 195.7 kB / 351.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002506/0.1905, allocations: 2.002 MB / 353.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/0.1911, allocations: 91.33 kB / 353.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-05/0.1912, allocations: 43.92 kB / 353.4 MB, free: 9.5 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.0004296/0.1917, allocations: 213.6 kB / 353.6 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.1918, allocations: 75.2 kB / 353.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.1919, allocations: 65.5 kB / 353.8 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.1919, allocations: 4 kB / 353.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.192, allocations: 0 / 353.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.192, allocations: 4 kB / 353.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.1931, allocations: 0.6375 MB / 354.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1931, allocations: 0 / 354.4 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.1935, allocations: 103.9 kB / 354.5 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002407/0.1938, allocations: 68.8 kB / 354.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.1939, allocations: 11.98 kB / 354.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002527/0.1964, allocations: 1.975 MB / 356.6 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1964, allocations: 0 / 356.6 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.1976, allocations: 0.6739 MB / 357.2 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.1979, allocations: 136.4 kB / 357.4 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.487e-05/0.198, allocations: 8 kB / 357.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.1985, allocations: 47.91 kB / 357.4 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.1986, allocations: 31.95 kB / 357.4 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.1986, allocations: 12 kB / 357.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005344/0.1992, allocations: 342.9 kB / 357.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.867e-05/0.1992, allocations: 0 / 357.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000948/0.2002, allocations: 255.1 kB / 358 MB, free: 4.621 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.001651/0.2018, allocations: 1.214 MB / 359.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.2031, allocations: 0.605 MB / 359.9 MB, free: 2.758 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.2031, allocations: 0 / 359.9 MB, free: 2.758 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.2037, allocations: 322.8 kB / 360.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000856/0.2046, allocations: 110.5 kB / 360.3 MB, free: 2.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009563/0.2142, allocations: 5.636 MB / 365.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000784/0.215, allocations: 0.9259 MB / 366.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003729/0.2154, allocations: 73.2 kB / 366.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.2158, allocations: 267.3 kB / 367.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of SimCode: time 1.172e-06/0.2158, allocations: 4 kB / 367.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2153/0.431, allocations: 12.57 MB / 379.8 MB, free: 52.88 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/10.79, allocations: 4.438 kB / 379.8 MB, free: 52.88 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches