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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008832/0.0008832, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003727/0.003727, allocations: 162 kB / 24.69 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8598/0.8598, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.175e-05, allocations: 2.281 kB / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002145/0.002167, allocations: 1.753 MB / 300.2 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1317/0.1339, allocations: 3.305 MB / 303.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.134, allocations: 15.09 kB / 303.5 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.1343, allocations: 149.9 kB / 303.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.773e-05/0.1344, allocations: 30.72 kB / 303.7 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.1375, allocations: 1.863 MB / 305.5 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.1379, allocations: 314.1 kB / 305.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.138, allocations: 25.03 kB / 305.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.1381, allocations: 150.2 kB / 306 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.1382, allocations: 82.59 kB / 306.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.1383, allocations: 12.34 kB / 306.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002696/0.1385, allocations: 171 kB / 306.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.065e-05/0.1386, allocations: 80.23 kB / 306.4 MB, free: 12.37 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.1387, allocations: 59 kB / 306.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003666/0.139, allocations: 362.5 kB / 306.8 MB, free: 12.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1391, allocations: 0 / 306.8 MB, free: 12.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1391, allocations: 1.875 kB / 306.8 MB, free: 12.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1391, allocations: 0 / 306.8 MB, free: 12.22 MB / 282.7 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.0005411/0.1396, allocations: 0.5033 MB / 307.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1396, allocations: 16.83 kB / 307.3 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.1397, allocations: 46.98 kB / 307.3 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.1397, allocations: 36.25 kB / 307.4 MB, free: 11.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.14, allocations: 226.2 kB / 307.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.14, allocations: 10.03 kB / 307.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/0.1401, allocations: 14.81 kB / 307.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.1403, allocations: 442 kB / 308 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.1403, allocations: 1.312 kB / 308 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1403, allocations: 1.438 kB / 308 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1403, allocations: 6.719 kB / 308.1 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.1405, allocations: 89.83 kB / 308.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.141, allocations: 434.2 kB / 308.6 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.1412, allocations: 162.5 kB / 308.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.936e-05/0.1413, allocations: 57.91 kB / 308.8 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1413, allocations: 9.578 kB / 308.8 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.1413, allocations: 38.09 kB / 308.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.1413, allocations: 5.078 kB / 308.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003315/0.1416, allocations: 223.8 kB / 309.1 MB, free: 10.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.1417, allocations: 286.6 kB / 309.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1419, allocations: 279.8 kB / 309.6 MB, free: 10.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1419, allocations: 28.36 kB / 309.6 MB, free: 9.992 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.1419, allocations: 163.1 kB / 309.8 MB, free: 9.852 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.142, allocations: 45 kB / 309.8 MB, free: 9.816 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.142, allocations: 63.11 kB / 309.9 MB, free: 9.781 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.304e-05/0.1421, allocations: 343.2 kB / 310.2 MB, free: 9.453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.1422, allocations: 102 kB / 310.3 MB, free: 9.426 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.1424, allocations: 415.4 kB / 310.7 MB, free: 9.027 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.1426, allocations: 209.2 kB / 310.9 MB, free: 8.953 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1426, allocations: 1.281 kB / 310.9 MB, free: 8.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003187/0.1429, allocations: 309.1 kB / 311.2 MB, free: 8.832 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1429, allocations: 5.312 kB / 311.2 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.1429, allocations: 5.641 kB / 311.3 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.143, allocations: 1.188 kB / 311.3 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.1431, allocations: 55.41 kB / 311.3 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1431, allocations: 1.438 kB / 311.3 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.1432, allocations: 28.38 kB / 311.3 MB, free: 8.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1432, allocations: 7.234 kB / 311.3 MB, free: 8.805 MB / 282.7 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 8.575e-05/0.1433, allocations: 153.8 kB / 311.5 MB, free: 8.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.1433, allocations: 27.62 kB / 311.5 MB, free: 8.652 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.1434, allocations: 27.3 kB / 311.5 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1434, allocations: 2.953 kB / 311.6 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1434, allocations: 0 / 311.6 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1434, allocations: 5.75 kB / 311.6 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001847/0.1436, allocations: 229 kB / 311.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1436, allocations: 1.062 kB / 311.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.1437, allocations: 23.5 kB / 311.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1437, allocations: 0.8906 kB / 311.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.1437, allocations: 7.078 kB / 311.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1437, allocations: 1.938 kB / 311.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1437, allocations: 0 / 311.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.144, allocations: 356.8 kB / 312.2 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.144, allocations: 19.62 kB / 312.2 MB, free: 8.203 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.144, allocations: 9.547 kB / 312.2 MB, free: 8.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/0.1441, allocations: 11.17 kB / 312.2 MB, free: 8.195 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.1441, allocations: 12.5 kB / 312.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.1441, allocations: 6.438 kB / 312.2 MB, free: 8.188 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1443, allocations: 194.9 kB / 312.4 MB, free: 8.078 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1443, allocations: 0 / 312.4 MB, free: 8.078 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.1445, allocations: 83.78 kB / 312.5 MB, free: 8.059 MB / 282.7 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.0004816/0.145, allocations: 0.9164 MB / 313.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.1453, allocations: 268.5 kB / 313.7 MB, free: 7.164 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1453, allocations: 1.5 kB / 313.7 MB, free: 7.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.552e-05/0.1454, allocations: 64.94 kB / 313.7 MB, free: 7.145 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.1457, allocations: 69.69 kB / 313.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.1478, allocations: 2.763 MB / 316.6 MB, free: 5.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.1479, allocations: 166.7 kB / 316.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.1481, allocations: 43.66 kB / 316.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.1481, allocations: 82.03 kB / 316.9 MB, free: 5.273 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1481, allocations: 0 / 316.9 MB, free: 5.273 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02384/0.172, allocations: 7.539 MB / 324.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.719/6.891, allocations: 5.141 kB / 324.4 MB, free: 1.801 MB / 282.7 MB " [Timeout remaining time 653] (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 --stepSize=0.00079952 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.469433404505253]