Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.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.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",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.001603/0.001603, allocations: 112 kB / 17.28 MB, free: 6.047 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.001427/0.001428, allocations: 185.4 kB / 18.2 MB, free: 5.152 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.913/1.913, allocations: 205.1 MB / 224 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.001254/0.001254, allocations: 48.16 kB / 280.2 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1413, allocations: 46.62 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.004062/0.1454, allocations: 1.873 MB / 328.7 MB, free: 2.805 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00691/0.1523, allocations: 3.602 MB / 332.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.1525, allocations: 7.938 kB / 332.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005524/0.1531, allocations: 111.5 kB / 332.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.1532, allocations: 31.72 kB / 332.5 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004898/0.1581, allocations: 1.604 MB / 334.1 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004333/0.1586, allocations: 303.1 kB / 334.4 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1587, allocations: 32.73 kB / 334.4 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.1589, allocations: 115.5 kB / 334.5 MB, free: 13 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1591, allocations: 107.4 kB / 334.6 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.1591, allocations: 12 kB / 334.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.1594, allocations: 147.7 kB / 334.8 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.1595, allocations: 67.81 kB / 334.9 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.717e-05/0.1596, allocations: 107.3 kB / 335 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.16, allocations: 334.9 kB / 335.3 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.16, allocations: 0 / 335.3 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.16, allocations: 0 / 335.3 MB, free: 12.24 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.16, allocations: 0 / 335.3 MB, free: 12.24 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009672/0.161, allocations: 0.5763 MB / 335.9 MB, free: 11.61 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.1611, allocations: 8.031 kB / 335.9 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.378e-05/0.1611, allocations: 54.73 kB / 335.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.464e-05/0.1612, allocations: 28.66 kB / 336 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.1617, allocations: 284.1 kB / 336.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.142e-05/0.1618, allocations: 20.3 kB / 336.3 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.1618, allocations: 12 kB / 336.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.1622, allocations: 206.1 kB / 336.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1622, allocations: 0 / 336.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1623, allocations: 4 kB / 336.5 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1623, allocations: 4 kB / 336.5 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.1625, allocations: 87.88 kB / 336.6 MB, free: 10.83 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.1636, allocations: 496.4 kB / 337 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.1639, allocations: 162.5 kB / 337.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.164, allocations: 56.92 kB / 337.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1641, allocations: 7.938 kB / 337.3 MB, free: 10.06 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.1641, allocations: 42.5 kB / 337.3 MB, free: 10.01 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.1641, allocations: 0 / 337.3 MB, free: 10.01 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005692/0.1647, allocations: 217.3 kB / 337.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002481/0.165, allocations: 286.7 kB / 337.8 MB, free: 9.445 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.1653, allocations: 284.5 kB / 338.1 MB, free: 9.156 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.1654, allocations: 29.7 kB / 338.1 MB, free: 9.121 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1656, allocations: 160.4 kB / 338.3 MB, free: 8.961 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.1656, allocations: 47.27 kB / 338.3 MB, free: 8.914 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.1657, allocations: 69.61 kB / 338.4 MB, free: 8.84 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.166, allocations: 338.8 kB / 338.7 MB, free: 8.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.1662, allocations: 95.94 kB / 338.8 MB, free: 8.406 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.1665, allocations: 180.5 kB / 339 MB, free: 8.199 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.1668, allocations: 217.1 kB / 339.2 MB, free: 7.984 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1669, allocations: 0 / 339.2 MB, free: 7.984 MB / 286.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005196/0.1674, allocations: 305.4 kB / 339.5 MB, free: 7.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.1674, allocations: 4 kB / 339.5 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.491e-05/0.1675, allocations: 4.109 kB / 339.5 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.1675, allocations: 3.938 kB / 339.5 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.1678, allocations: 55.95 kB / 339.6 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.1678, allocations: 3.938 kB / 339.6 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.1679, allocations: 23.75 kB / 339.6 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.168, allocations: 4 kB / 339.6 MB, free: 7.582 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.1682, allocations: 153.8 kB / 339.7 MB, free: 7.422 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.1682, allocations: 23.72 kB / 339.8 MB, free: 7.398 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.263e-05/0.1683, allocations: 29.97 kB / 339.8 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1683, allocations: 0 / 339.8 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.1683, allocations: 7.938 kB / 339.8 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1683, allocations: 0 / 339.8 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.1687, allocations: 277.4 kB / 340.1 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1687, allocations: 0 / 340.1 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.1689, allocations: 23.92 kB / 340.1 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1689, allocations: 4 kB / 340.1 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.169, allocations: 4 kB / 340.1 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.169, allocations: 8 kB / 340.1 MB, free: 7 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.169, allocations: 3.938 kB / 340.1 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.1695, allocations: 331.1 kB / 340.4 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.1696, allocations: 96.83 kB / 340.5 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.1696, allocations: 12.05 kB / 340.5 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.1698, allocations: 4 kB / 340.5 MB, free: 6.527 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.1698, allocations: 15.92 kB / 340.6 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1698, allocations: 4.094 kB / 340.6 MB, free: 6.508 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002339/0.1701, allocations: 202.9 kB / 340.8 MB, free: 6.312 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1701, allocations: 4 kB / 340.8 MB, free: 6.309 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003742/0.1705, allocations: 75.94 kB / 340.8 MB, free: 6.234 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/0.1716, allocations: 0.9118 MB / 341.8 MB, free: 5.293 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005164/0.1721, allocations: 301 kB / 342 MB, free: 4.98 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1721, allocations: 0 / 342 MB, free: 4.98 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1723, allocations: 67.84 kB / 342.1 MB, free: 4.914 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/0.1728, allocations: 92.17 kB / 342.2 MB, free: 4.824 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004067/0.1769, allocations: 2.826 MB / 345 MB, free: 1.926 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006033/0.1775, allocations: 0.7714 MB / 345.8 MB, free: 1.117 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.1777, allocations: 42.17 kB / 345.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.1778, allocations: 87.41 kB / 345.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1778, allocations: 0 / 345.9 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.2001, allocations: 6.355 MB / 352.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.2003, allocations: 190.5 kB / 352.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.502, allocations: 0 / 352.5 MB, free: 10.36 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches