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.0007315/0.0007315, allocations: 88.33 kB / 20.67 MB, free: 3.883 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.0007874/0.0007874, allocations: 156.9 kB / 23.95 MB, free: 0.6094 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.8912/0.8912, allocations: 177 MB / 204.1 MB, free: 5.738 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.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079e-05/1.227e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001796/0.001808, allocations: 1.599 MB / 326.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003159/0.004967, allocations: 2.996 MB / 329.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.758e-05/0.005045, allocations: 3.938 kB / 329.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.005326, allocations: 67.56 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.482e-05/0.005371, allocations: 15.86 kB / 329.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.007568, allocations: 1.498 MB / 330.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.007752, allocations: 151.6 kB / 330.8 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.007846, allocations: 25.06 kB / 330.8 MB, free: 9.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.383e-05/0.00792, allocations: 63.89 kB / 330.9 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.007984, allocations: 43.88 kB / 331 MB, free: 9.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.008002, allocations: 8 kB / 331 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.009039, allocations: 1.432 MB / 332.4 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.682e-05/0.009116, allocations: 39.89 kB / 332.4 MB, free: 7.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.009153, allocations: 31.86 kB / 332.5 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009122/0.01006, allocations: 1.454 MB / 333.9 MB, free: 6.441 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.01007, allocations: 0 / 333.9 MB, free: 6.441 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01007, allocations: 0 / 333.9 MB, free: 6.441 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.01008, allocations: 0 / 333.9 MB, free: 6.441 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005861/0.01066, allocations: 0.4897 MB / 334.4 MB, free: 5.922 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.0107, allocations: 15.98 kB / 334.4 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.457e-05/0.01074, allocations: 38.69 kB / 334.5 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.01077, allocations: 16.84 kB / 334.5 MB, free: 5.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.01095, allocations: 157.5 kB / 334.6 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.01096, allocations: 12.38 kB / 334.6 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.01098, allocations: 8.375 kB / 334.7 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.01119, allocations: 202.7 kB / 334.9 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.0112, allocations: 3.938 kB / 334.9 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.01121, allocations: 0 / 334.9 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.01122, allocations: 4 kB / 334.9 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-05/0.0113, allocations: 55.95 kB / 334.9 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.01171, allocations: 339.6 kB / 335.2 MB, free: 4.973 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.01195, allocations: 126.6 kB / 335.4 MB, free: 4.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.012, allocations: 44.83 kB / 335.4 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.01201, allocations: 0 / 335.4 MB, free: 4.793 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.01203, allocations: 34.69 kB / 335.4 MB, free: 4.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.01203, allocations: 4 kB / 335.4 MB, free: 4.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001291/0.01332, allocations: 0.9807 MB / 336.4 MB, free: 3.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.01338, allocations: 144.4 kB / 336.6 MB, free: 3.516 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.01349, allocations: 174.2 kB / 336.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.0135, allocations: 29.7 kB / 336.8 MB, free: 3.301 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.01356, allocations: 108.6 kB / 336.9 MB, free: 3.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.01359, allocations: 59.53 kB / 336.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.01365, allocations: 45.7 kB / 337 MB, free: 3.082 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.346e-05/0.01373, allocations: 322.8 kB / 337.3 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.01384, allocations: 99.94 kB / 337.4 MB, free: 2.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.01399, allocations: 212.4 kB / 337.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.01421, allocations: 200.9 kB / 337.8 MB, free: 2.223 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.01421, allocations: 4 kB / 337.8 MB, free: 2.219 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003395/0.01455, allocations: 298.2 kB / 338.1 MB, free: 1.918 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01456, allocations: 11.94 kB / 338.1 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.01458, allocations: 4 kB / 338.1 MB, free: 1.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001243/0.0147, allocations: 44.81 kB / 338.2 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.01478, allocations: 29.2 kB / 338.2 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008703/0.01566, allocations: 1.416 MB / 339.6 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.0157, allocations: 8.188 kB / 339.6 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.01571, allocations: 8 kB / 339.6 MB, free: 288 kB / 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 (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 9.044e-05/0.0158, allocations: 137.7 kB / 339.7 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.01583, allocations: 19.89 kB / 339.8 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.01585, allocations: 21.47 kB / 339.8 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01586, allocations: 7.938 kB / 339.8 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.42e-07/0.01586, allocations: 0 / 339.8 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01586, allocations: 0 / 339.8 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.01604, allocations: 200.6 kB / 340 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01604, allocations: 0 / 340 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.01619, allocations: 55.95 kB / 340 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01619, allocations: 3.938 kB / 340 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.0162, allocations: 8 kB / 340.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.0162, allocations: 0 / 340.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.0162, allocations: 0 / 340.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.01656, allocations: 416.8 kB / 340.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.231e-05/0.01657, allocations: 11.91 kB / 340.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.01658, allocations: 0 / 340.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.395e-05/0.01663, allocations: 12.03 kB / 340.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.01667, allocations: 11.98 kB / 340.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.01668, allocations: 8 kB / 340.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.579e-05/0.01674, allocations: 123.2 kB / 340.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01674, allocations: 4 kB / 340.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007827/0.01752, allocations: 0.5116 MB / 341.1 MB, free: 14.69 MB / 314.7 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.001154/0.01868, allocations: 1.505 MB / 342.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004348/0.01911, allocations: 380.7 kB / 343 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.01912, allocations: 4 kB / 343 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.903e-05/0.0192, allocations: 79.89 kB / 343.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.01942, allocations: 27.97 kB / 343.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.02139, allocations: 2.461 MB / 345.6 MB, free: 10.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.612e-05/0.02147, allocations: 122.9 kB / 345.7 MB, free: 9.961 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.057e-05/0.02153, allocations: 33.11 kB / 345.7 MB, free: 9.926 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.02159, allocations: 44.48 kB / 345.8 MB, free: 9.883 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.02159, allocations: 0 / 345.8 MB, free: 9.883 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.04401, allocations: 10.63 MB / 356.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/7.302, allocations: 6.812 kB / 356.4 MB, free: 15.35 MB / 330.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/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: 8.956601535901427]