Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008259/0.0008259, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007663/0.0007663, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8929/0.8929, allocations: 173.3 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.605e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00304/0.003066, allocations: 1.746 MB / 320.2 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00408/0.007146, allocations: 3.288 MB / 323.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.007259, allocations: 15.81 kB / 323.5 MB, free: 1.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.007591, allocations: 139.2 kB / 323.6 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.133e-05/0.007662, allocations: 39.59 kB / 323.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.01027, allocations: 1.876 MB / 325.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.01056, allocations: 311.1 kB / 325.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.439e-05/0.01065, allocations: 28.91 kB / 325.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.01078, allocations: 143.7 kB / 326 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.01087, allocations: 83.7 kB / 326.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.01089, allocations: 16 kB / 326.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.01108, allocations: 163.7 kB / 326.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.01115, allocations: 79.67 kB / 326.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.01121, allocations: 67.77 kB / 326.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.0115, allocations: 358.8 kB / 326.7 MB, free: 14.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.0115, allocations: 3.938 kB / 326.7 MB, free: 14 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.0115, allocations: 0 / 326.7 MB, free: 14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.0115, allocations: 0 / 326.7 MB, free: 14 MB / 298.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.0005024/0.01201, allocations: 0.5008 MB / 327.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.01204, allocations: 12.86 kB / 327.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.01207, allocations: 42.75 kB / 327.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.01212, allocations: 32.75 kB / 327.3 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.01236, allocations: 225.8 kB / 327.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.01237, allocations: 16.12 kB / 327.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.0124, allocations: 12 kB / 327.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.01266, allocations: 437.4 kB / 328 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.01267, allocations: 3.938 kB / 328 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.01268, allocations: 4 kB / 328 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.01269, allocations: 4 kB / 328 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.01281, allocations: 91.88 kB / 328.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/0.01328, allocations: 443.7 kB / 328.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.01347, allocations: 158.5 kB / 328.7 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.44e-05/0.01353, allocations: 56.83 kB / 328.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.01354, allocations: 0 / 328.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.01356, allocations: 38.66 kB / 328.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 7.81e-07/0.01356, allocations: 3.938 kB / 328.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002815/0.01384, allocations: 221.5 kB / 329 MB, free: 11.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.01392, allocations: 290.7 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.0141, allocations: 288.5 kB / 329.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.01412, allocations: 29.7 kB / 329.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.01419, allocations: 152.5 kB / 329.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.01423, allocations: 55.52 kB / 329.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.01428, allocations: 61.69 kB / 329.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.01437, allocations: 338.8 kB / 330.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.01447, allocations: 95.94 kB / 330.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.01467, allocations: 423.8 kB / 330.7 MB, free: 9.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.01487, allocations: 201.5 kB / 330.9 MB, free: 9.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01487, allocations: 0 / 330.9 MB, free: 9.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002835/0.01516, allocations: 305.4 kB / 331.2 MB, free: 9.125 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.01516, allocations: 4 kB / 331.2 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.01518, allocations: 7.984 kB / 331.2 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.01519, allocations: 3.938 kB / 331.2 MB, free: 9.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.01532, allocations: 47.97 kB / 331.3 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.331e-06/0.01533, allocations: 7.938 kB / 331.3 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.01538, allocations: 23.84 kB / 331.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.01539, allocations: 11.98 kB / 331.3 MB, free: 9.02 MB / 298.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 9.406e-05/0.01549, allocations: 150.4 kB / 331.5 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.01551, allocations: 23.86 kB / 331.5 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.01555, allocations: 33.91 kB / 331.5 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.01555, allocations: 0 / 331.5 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.01555, allocations: 3.938 kB / 331.5 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01555, allocations: 0 / 331.5 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.01572, allocations: 224.6 kB / 331.7 MB, free: 8.539 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.01572, allocations: 8 kB / 331.7 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.148e-05/0.01582, allocations: 23.98 kB / 331.8 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01582, allocations: 4.094 kB / 331.8 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.01583, allocations: 7.938 kB / 331.8 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01583, allocations: 0 / 331.8 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.01583, allocations: 7.938 kB / 331.8 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.01611, allocations: 331.2 kB / 332.1 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.01614, allocations: 23.81 kB / 332.1 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.01615, allocations: 7.938 kB / 332.1 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-05/0.01622, allocations: 12.05 kB / 332.2 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.01624, allocations: 19.92 kB / 332.2 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.01625, allocations: 4 kB / 332.2 MB, free: 8.082 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.01636, allocations: 199.1 kB / 332.4 MB, free: 7.891 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01636, allocations: 0 / 332.4 MB, free: 7.891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002161/0.01658, allocations: 71.88 kB / 332.4 MB, free: 7.82 MB / 298.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.0005251/0.0171, allocations: 0.9187 MB / 333.4 MB, free: 6.879 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002698/0.01737, allocations: 273.4 kB / 333.6 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01737, allocations: 4 kB / 333.6 MB, free: 6.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.817e-05/0.01744, allocations: 63.89 kB / 333.7 MB, free: 6.527 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.01771, allocations: 69.75 kB / 333.8 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.01983, allocations: 2.766 MB / 336.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.01993, allocations: 165.8 kB / 336.7 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.377e-05/0.02003, allocations: 54.14 kB / 336.7 MB, free: 3.375 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.774e-05/0.0201, allocations: 80.48 kB / 336.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0201, allocations: 0 / 336.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.03849, allocations: 7.534 MB / 344.4 MB, free: 11.94 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/6.906, allocations: 14.09 kB / 344.4 MB, free: 11.93 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.59445667732507]