Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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.001176/0.001176, allocations: 101.5 kB / 21.22 MB, free: 0.6211 MB / 14.72 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.001256/0.001256, allocations: 188.3 kB / 24.49 MB, free: 3.934 MB / 14.72 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 1.323/1.323, allocations: 225.7 MB / 253.3 MB, free: 12.84 MB / 206.1 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.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 55.91 kB / 371.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2196, allocations: 52.18 MB / 423.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002685/0.2222, allocations: 1.593 MB / 424.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.2269, allocations: 2.926 MB / 427.9 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.493e-05/0.227, allocations: 11.94 kB / 427.9 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.2273, allocations: 51.69 kB / 427.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.2274, allocations: 11.88 kB / 427.9 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.2304, allocations: 1.471 MB / 429.4 MB, free: 8.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.2307, allocations: 151.6 kB / 429.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2308, allocations: 25.23 kB / 429.6 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.973e-05/0.2308, allocations: 51.83 kB / 429.6 MB, free: 8.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.866e-05/0.2309, allocations: 59.7 kB / 429.7 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.231, allocations: 11.94 kB / 429.7 MB, free: 8.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.2326, allocations: 1.432 MB / 431.1 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.265e-05/0.2327, allocations: 31.91 kB / 431.2 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.2328, allocations: 47.72 kB / 431.2 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.2339, allocations: 1.212 MB / 432.4 MB, free: 5.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2339, allocations: 0 / 432.4 MB, free: 5.293 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2339, allocations: 4 kB / 432.4 MB, free: 5.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.234, allocations: 0 / 432.4 MB, free: 5.289 MB / 334.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.0009107/0.2349, allocations: 0.4974 MB / 432.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2349, allocations: 8.031 kB / 432.9 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.437e-05/0.2349, allocations: 4.188 kB / 432.9 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.2349, allocations: 34.75 kB / 433 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/0.235, allocations: 16.84 kB / 433 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.2352, allocations: 161.8 kB / 433.1 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2353, allocations: 15.98 kB / 433.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.2353, allocations: 8 kB / 433.2 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.2356, allocations: 202.1 kB / 433.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2356, allocations: 4 kB / 433.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2356, allocations: 0 / 433.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2356, allocations: 4 kB / 433.4 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.2358, allocations: 59.89 kB / 433.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.2363, allocations: 335.6 kB / 433.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.2367, allocations: 126.6 kB / 433.9 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.2368, allocations: 41.03 kB / 433.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.2368, allocations: 3.938 kB / 433.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2368, allocations: 38.55 kB / 434 MB, free: 3.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.2368, allocations: 0 / 434 MB, free: 3.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002125/0.2389, allocations: 0.9923 MB / 435 MB, free: 2.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.287e-05/0.239, allocations: 136.5 kB / 435.1 MB, free: 2.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.2392, allocations: 170.3 kB / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.2392, allocations: 29.7 kB / 435.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.2393, allocations: 112.5 kB / 435.4 MB, free: 2.031 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.2393, allocations: 63.42 kB / 435.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/0.2394, allocations: 45.7 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.2396, allocations: 330.8 kB / 435.8 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.2397, allocations: 99.88 kB / 435.9 MB, free: 1.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.24, allocations: 204.5 kB / 436.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.2403, allocations: 204.7 kB / 436.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2403, allocations: 0 / 436.3 MB, free: 1.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005142/0.2408, allocations: 314.3 kB / 436.6 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2408, allocations: 4 kB / 436.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.2408, allocations: 4 kB / 436.6 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.241, allocations: 44.81 kB / 436.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.2411, allocations: 35.92 kB / 436.7 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.2424, allocations: 1.404 MB / 438.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.802e-05/0.2425, allocations: 8.031 kB / 438.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.2425, allocations: 12.14 kB / 438.1 MB, free: 15.11 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.0001215/0.2427, allocations: 133.8 kB / 438.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.2427, allocations: 15.91 kB / 438.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.2428, allocations: 21.41 kB / 438.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.2428, allocations: 4 kB / 438.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.2428, allocations: 0 / 438.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2428, allocations: 0 / 438.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.243, allocations: 196.7 kB / 438.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.243, allocations: 3.984 kB / 438.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.2433, allocations: 63.84 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.912e-06/0.2433, allocations: 4 kB / 438.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.2433, allocations: 7.938 kB / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2433, allocations: 0 / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2433, allocations: 0.6562 kB / 438.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005173/0.2438, allocations: 411.2 kB / 439 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.2439, allocations: 11.95 kB / 439 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.2439, allocations: 7.938 kB / 439 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.244, allocations: 8.031 kB / 439 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.244, allocations: 11.98 kB / 439 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.244, allocations: 4 kB / 439 MB, free: 14.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.2441, allocations: 140.1 kB / 439.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2441, allocations: 0 / 439.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001364/0.2455, allocations: 0.5116 MB / 439.7 MB, free: 13.5 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.001812/0.2473, allocations: 1.39 MB / 441.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006426/0.248, allocations: 381.1 kB / 441.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.248, allocations: 0 / 441.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.2481, allocations: 87.83 kB / 441.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.2484, allocations: 38.47 kB / 441.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.2514, allocations: 2.461 MB / 444 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.2515, allocations: 114.6 kB / 444.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.011e-05/0.2516, allocations: 33.05 kB / 444.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.2517, allocations: 43.42 kB / 444.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2517, allocations: 0 / 444.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.2865, allocations: 10.22 MB / 454.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.21, allocations: 4.062 kB / 454.4 MB, free: 14.78 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 13.556398915010504]