Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.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.001843/0.001843, 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.00253/0.00253, allocations: 219.8 kB / 24.53 MB, free: 4.004 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.585/1.585, allocations: 230.5 MB / 258.2 MB, free: 7.98 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.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 60.14 kB / 378.6 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3857, allocations: 53.41 MB / 432 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003517/0.3893, allocations: 1.64 MB / 433.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00625/0.3955, allocations: 3.261 MB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.3957, allocations: 7.938 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003894/0.3961, allocations: 55.7 kB / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.42e-05/0.3961, allocations: 15.86 kB / 436.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004312/0.4005, allocations: 1.466 MB / 438.4 MB, free: 344 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.4008, allocations: 151.6 kB / 438.6 MB, free: 192 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.401, allocations: 13.31 kB / 438.6 MB, free: 176 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.4011, allocations: 59.77 kB / 438.6 MB, free: 116 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.4012, allocations: 55.77 kB / 438.7 MB, free: 60 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.4013, allocations: 8 kB / 438.7 MB, free: 52 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002191/0.4034, allocations: 1.444 MB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.4036, allocations: 39.84 kB / 440.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.4037, allocations: 51.67 kB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.405, allocations: 1.212 MB / 441.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4051, allocations: 4 kB / 441.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4051, allocations: 0 / 441.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.4051, allocations: 0 / 441.4 MB, free: 13.3 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001172/0.4062, allocations: 0.4974 MB / 441.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4063, allocations: 8.031 kB / 441.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.342e-05/0.4063, allocations: 4.188 kB / 441.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.4063, allocations: 42.73 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.4064, allocations: 16.84 kB / 442 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.4066, allocations: 151.1 kB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.4066, allocations: 8.375 kB / 442.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.4067, allocations: 11.94 kB / 442.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.407, allocations: 131.8 kB / 442.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.407, allocations: 3.938 kB / 442.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.407, allocations: 8 kB / 442.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.407, allocations: 0 / 442.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.4071, allocations: 59.89 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.4077, allocations: 355.6 kB / 442.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.4081, allocations: 130.5 kB / 442.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.277e-05/0.4082, allocations: 40.77 kB / 442.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.4082, allocations: 4 kB / 442.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.4082, allocations: 34.56 kB / 442.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.4082, allocations: 0 / 442.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.00251/0.4107, allocations: 0.9809 MB / 443.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.71e-05/0.4108, allocations: 141.7 kB / 444 MB, free: 10.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.411, allocations: 178.2 kB / 444.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.4111, allocations: 29.7 kB / 444.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.4111, allocations: 112.5 kB / 444.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.4112, allocations: 55.53 kB / 444.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-05/0.4113, allocations: 41.7 kB / 444.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4114, allocations: 334.8 kB / 444.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.4116, allocations: 87.95 kB / 444.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.4118, allocations: 146.7 kB / 445 MB, free: 9.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.4121, allocations: 200.9 kB / 445.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.4121, allocations: 4 kB / 445.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000529/0.4126, allocations: 302.1 kB / 445.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.4127, allocations: 10.5 kB / 445.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/0.4127, allocations: 11.92 kB / 445.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001904/0.4129, allocations: 44.83 kB / 445.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.413, allocations: 31.92 kB / 445.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.4144, allocations: 1.424 MB / 447 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.699e-05/0.4144, allocations: 4.031 kB / 447 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.4145, allocations: 11.98 kB / 447 MB, free: 7.277 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.4146, allocations: 133.9 kB / 447.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.4147, allocations: 15.91 kB / 447.2 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.4147, allocations: 21.47 kB / 447.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4147, allocations: 4 kB / 447.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4147, allocations: 3.938 kB / 447.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4147, allocations: 0 / 447.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002718/0.415, allocations: 216.6 kB / 447.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.415, allocations: 0 / 447.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.4153, allocations: 51.91 kB / 447.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4153, allocations: 4 kB / 447.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.4153, allocations: 8 kB / 447.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.4153, allocations: 7.969 kB / 447.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4153, allocations: 3.938 kB / 447.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.4158, allocations: 410.7 kB / 447.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.4159, allocations: 15.91 kB / 447.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.4159, allocations: 3.938 kB / 447.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.416, allocations: 8 kB / 447.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.416, allocations: 15.92 kB / 447.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.4161, allocations: 7.984 kB / 448 MB, free: 6.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.4162, allocations: 120.2 kB / 448.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4162, allocations: 0 / 448.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001611/0.4178, allocations: 0.5155 MB / 448.6 MB, free: 5.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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.001807/0.4196, allocations: 1.38 MB / 450 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006792/0.4203, allocations: 370 kB / 450.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.4203, allocations: 0 / 450.3 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.4204, allocations: 87.83 kB / 450.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.4207, allocations: 39.3 kB / 450.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003152/0.4239, allocations: 2.461 MB / 452.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.4244, allocations: 0.7319 MB / 453.6 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001089/0.4245, allocations: 37.23 kB / 453.7 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-05/0.4246, allocations: 43.42 kB / 453.7 MB, free: 372 kB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4246, allocations: 0 / 453.7 MB, free: 372 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04907/0.4736, allocations: 10.04 MB / 463.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.95, allocations: 15.34 kB / 463.8 MB, free: 6.422 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.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.794087998976465]