Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001931/0.001931, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00266/0.00266, allocations: 216.5 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.89 kB / 378.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4415, allocations: 53.41 MB / 432 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00382/0.4453, allocations: 1.858 MB / 433.8 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007392/0.4527, allocations: 3.6 MB / 437.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.453, allocations: 11.88 kB / 437.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006922/0.4537, allocations: 135.3 kB / 437.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.4538, allocations: 35.72 kB / 437.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004841/0.4587, allocations: 1.777 MB / 439.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004549/0.4591, allocations: 307.2 kB / 439.7 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.4592, allocations: 24.88 kB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.4595, allocations: 127.5 kB / 439.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.4596, allocations: 111.4 kB / 439.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.4597, allocations: 12 kB / 439.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.46, allocations: 175.7 kB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.4601, allocations: 83.61 kB / 440.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.4602, allocations: 91.36 kB / 440.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.4607, allocations: 351.6 kB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4607, allocations: 0 / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4607, allocations: 0 / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.4607, allocations: 0 / 440.6 MB, free: 14.04 MB / 350.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.0009861/0.4617, allocations: 0.5202 MB / 441.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.4617, allocations: 8.031 kB / 441.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.264e-05/0.4617, allocations: 4.375 kB / 441.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.722e-05/0.4618, allocations: 42.73 kB / 441.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/0.4619, allocations: 32.75 kB / 441.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.4624, allocations: 222.6 kB / 441.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.4624, allocations: 19.92 kB / 441.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.4624, allocations: 23.95 kB / 441.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.4628, allocations: 205.6 kB / 441.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4628, allocations: 0 / 441.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.4628, allocations: 8 kB / 441.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.4628, allocations: 7.938 kB / 441.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.463, allocations: 79.94 kB / 441.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008237/0.4639, allocations: 459.7 kB / 442.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.4642, allocations: 170.4 kB / 442.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.4643, allocations: 56.83 kB / 442.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.4643, allocations: 0 / 442.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.4643, allocations: 34.56 kB / 442.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 8.92e-07/0.4643, allocations: 0 / 442.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005169/0.4649, allocations: 229 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001943/0.4651, allocations: 290.7 kB / 443 MB, free: 11.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.4654, allocations: 284.5 kB / 443.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.4654, allocations: 37.64 kB / 443.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.4655, allocations: 148.5 kB / 443.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.4656, allocations: 55.53 kB / 443.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/0.4657, allocations: 61.67 kB / 443.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4658, allocations: 338.8 kB / 443.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.466, allocations: 107.9 kB / 444 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.4662, allocations: 172.5 kB / 444.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.4666, allocations: 209.4 kB / 444.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4666, allocations: 0 / 444.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004483/0.467, allocations: 305.4 kB / 444.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.467, allocations: 10.5 kB / 444.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.4671, allocations: 4 kB / 444.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4671, allocations: 0 / 444.7 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.4673, allocations: 59.83 kB / 444.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.4674, allocations: 4 kB / 444.8 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.4675, allocations: 23.84 kB / 444.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.4675, allocations: 4.109 kB / 444.8 MB, free: 9.578 MB / 350.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.0001386/0.4676, allocations: 154.4 kB / 444.9 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.4677, allocations: 23.86 kB / 445 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.4677, allocations: 25.92 kB / 445 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4677, allocations: 7.938 kB / 445 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.4677, allocations: 3.984 kB / 445 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4677, allocations: 0 / 445 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.468, allocations: 244.5 kB / 445.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.468, allocations: 0 / 445.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.4682, allocations: 23.98 kB / 445.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4682, allocations: 4 kB / 445.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.4682, allocations: 11.98 kB / 445.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4682, allocations: 3.938 kB / 445.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4682, allocations: 0 / 445.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005073/0.4687, allocations: 338 kB / 445.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.4688, allocations: 27.8 kB / 445.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.4688, allocations: 12.19 kB / 445.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.4689, allocations: 15.92 kB / 445.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.469, allocations: 7.984 kB / 445.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.469, allocations: 4 kB / 445.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.4691, allocations: 195.1 kB / 445.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4691, allocations: 0 / 445.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.4695, allocations: 75.88 kB / 445.9 MB, free: 8.359 MB / 350.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.0009169/0.4704, allocations: 0.919 MB / 446.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004695/0.4709, allocations: 261.4 kB / 447.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4709, allocations: 0 / 447.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.471, allocations: 71.39 kB / 447.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.4715, allocations: 78.2 kB / 447.3 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003585/0.4751, allocations: 2.782 MB / 450 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.4755, allocations: 0.7675 MB / 450.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.4756, allocations: 45.91 kB / 450.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.4757, allocations: 83.41 kB / 450.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4757, allocations: 0 / 450.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.5088, allocations: 6.786 MB / 457.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.71, allocations: 7.297 kB / 457.7 MB, free: 12.54 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 14.548199319979176]