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.0008525/0.0008525, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000977/0.000977, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8991/0.8991, allocations: 177 MB / 204.1 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.208e-05, allocations: 3.125 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002058/0.00208, allocations: 1.781 MB / 326.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00398/0.00606, allocations: 3.323 MB / 329.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.006203, allocations: 15.81 kB / 329.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.006608, allocations: 139.2 kB / 329.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.082e-05/0.006689, allocations: 39.7 kB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.009888, allocations: 1.868 MB / 331.7 MB, free: 8.695 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.01023, allocations: 311.1 kB / 332 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.01036, allocations: 16.94 kB / 332 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.01057, allocations: 163.5 kB / 332.1 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.329e-05/0.01066, allocations: 83.77 kB / 332.2 MB, free: 8.133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.01068, allocations: 12 kB / 332.2 MB, free: 8.121 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.01091, allocations: 171.6 kB / 332.4 MB, free: 7.953 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.01101, allocations: 75.73 kB / 332.5 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.01106, allocations: 59.77 kB / 332.5 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.01139, allocations: 358.8 kB / 332.9 MB, free: 7.469 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.01139, allocations: 11.88 kB / 332.9 MB, free: 7.457 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.0114, allocations: 0 / 332.9 MB, free: 7.457 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.0114, allocations: 0 / 332.9 MB, free: 7.457 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.0006214/0.01202, allocations: 0.5007 MB / 333.4 MB, free: 6.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.01207, allocations: 19.92 kB / 333.4 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.01212, allocations: 46.73 kB / 333.5 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.01217, allocations: 32.75 kB / 333.5 MB, free: 6.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.01255, allocations: 217.9 kB / 333.7 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.01256, allocations: 8.562 kB / 333.7 MB, free: 6.574 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.0126, allocations: 20.33 kB / 333.7 MB, free: 6.555 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.01295, allocations: 441.5 kB / 334.2 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.01296, allocations: 0 / 334.2 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.01297, allocations: 4 kB / 334.2 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.01298, allocations: 0 / 334.2 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.01311, allocations: 87.94 kB / 334.3 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.01367, allocations: 439.6 kB / 334.7 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.01387, allocations: 170.4 kB / 334.9 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.696e-05/0.01393, allocations: 52.83 kB / 334.9 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.01395, allocations: 4 kB / 334.9 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.01397, allocations: 38.56 kB / 335 MB, free: 5.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.01397, allocations: 0 / 335 MB, free: 5.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003612/0.01433, allocations: 224.4 kB / 335.2 MB, free: 4.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.01448, allocations: 290.7 kB / 335.5 MB, free: 4.613 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005999/0.01508, allocations: 280.6 kB / 335.7 MB, free: 4.328 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.0151, allocations: 29.7 kB / 335.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.0152, allocations: 156.5 kB / 335.9 MB, free: 4.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.01523, allocations: 51.58 kB / 336 MB, free: 4.086 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.597e-05/0.0153, allocations: 61.69 kB / 336 MB, free: 4.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.0154, allocations: 338.8 kB / 336.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.01552, allocations: 107.9 kB / 336.5 MB, free: 3.574 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.01574, allocations: 411.8 kB / 336.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.01596, allocations: 217.5 kB / 337.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01596, allocations: 0 / 337.1 MB, free: 2.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003018/0.01626, allocations: 301.4 kB / 337.4 MB, free: 2.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.01628, allocations: 4 kB / 337.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.0163, allocations: 4 kB / 337.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.01631, allocations: 7.938 kB / 337.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.01647, allocations: 52.03 kB / 337.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.01648, allocations: 3.938 kB / 337.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.573e-05/0.01655, allocations: 27.78 kB / 337.5 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.01656, allocations: 15.98 kB / 337.5 MB, free: 2.457 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 0.000101/0.01666, allocations: 157.7 kB / 337.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.0167, allocations: 27.81 kB / 337.7 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.01673, allocations: 21.92 kB / 337.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.01673, allocations: 7.984 kB / 337.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.01674, allocations: 0 / 337.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01674, allocations: 0 / 337.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.01693, allocations: 220.6 kB / 337.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01693, allocations: 0 / 337.9 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.01704, allocations: 24.09 kB / 337.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.01704, allocations: 7.938 kB / 337.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.01705, allocations: 8 kB / 337.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.01705, allocations: 0 / 337.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01705, allocations: 0 / 337.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.01736, allocations: 335.1 kB / 338.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.01739, allocations: 27.75 kB / 338.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.01741, allocations: 12.05 kB / 338.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.01748, allocations: 4 kB / 338.3 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.01751, allocations: 15.98 kB / 338.3 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.01752, allocations: 3.984 kB / 338.3 MB, free: 1.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.01763, allocations: 195.1 kB / 338.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01763, allocations: 0 / 338.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.01791, allocations: 87.84 kB / 338.6 MB, free: 1.258 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.0006653/0.01857, allocations: 0.9111 MB / 339.5 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003321/0.0189, allocations: 271.9 kB / 339.8 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.01891, allocations: 0 / 339.8 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.705e-05/0.01899, allocations: 67.91 kB / 339.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.01934, allocations: 90.81 kB / 339.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.02192, allocations: 2.764 MB / 342.7 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.02202, allocations: 161.8 kB / 342.9 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.02214, allocations: 41.91 kB / 342.9 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.346e-05/0.02223, allocations: 84.47 kB / 343 MB, free: 12.73 MB / 314.7 MB Notification: Performance of SimCode: time 1.233e-06/0.02223, allocations: 3.938 kB / 343 MB, free: 12.73 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.04581, allocations: 7.517 MB / 350.5 MB, free: 5.348 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.829/6.875, allocations: 8 kB / 350.5 MB, free: 5.34 MB / 314.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable filter_fac5.x[2] in file Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv. Warning: Get data of variable filter_fac5.x[2] from file Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,filter_fac3.x[1],filter_fac3.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac5.x[1],filter_fac5.x[2] Variables in the result:time,filter_fac3.x[1],filter_fac3.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac5.x[1] [Calling sys.exit(0), Time elapsed: 8.70132208429277]