Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008274/0.0008274, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008289/0.0008289, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8963/0.8963, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 324.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.166e-05, allocations: 6.219 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002054/0.002076, allocations: 1.597 MB / 326.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.005257, allocations: 3 MB / 329.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.00536, allocations: 3.938 kB / 329.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.005659, allocations: 59.69 kB / 329.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.00571, allocations: 15.86 kB / 329.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.008198, allocations: 1.5 MB / 330.7 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.008404, allocations: 147.6 kB / 330.9 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.008501, allocations: 21.02 kB / 330.9 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.008576, allocations: 71.88 kB / 331 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.008643, allocations: 43.88 kB / 331 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.008661, allocations: 8 kB / 331 MB, free: 9.453 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.009776, allocations: 1.425 MB / 332.4 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.009861, allocations: 43.83 kB / 332.5 MB, free: 7.984 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.009901, allocations: 31.86 kB / 332.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.01095, allocations: 1.447 MB / 334 MB, free: 6.504 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.01096, allocations: 4 kB / 334 MB, free: 6.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.01096, allocations: 0 / 334 MB, free: 6.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.01097, allocations: 0 / 334 MB, free: 6.5 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.0007481/0.01171, allocations: 0.4925 MB / 334.5 MB, free: 5.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.01175, allocations: 12.03 kB / 334.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.117e-05/0.01179, allocations: 34.75 kB / 334.5 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.01182, allocations: 16.84 kB / 334.5 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.012, allocations: 161.4 kB / 334.7 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.01201, allocations: 16.36 kB / 334.7 MB, free: 5.711 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.01204, allocations: 8.375 kB / 334.7 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.01223, allocations: 202.7 kB / 334.9 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.01224, allocations: 3.938 kB / 334.9 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.01225, allocations: 4 kB / 334.9 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.01226, allocations: 8 kB / 334.9 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.562e-05/0.01234, allocations: 55.89 kB / 335 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.01276, allocations: 335.7 kB / 335.3 MB, free: 5.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.01302, allocations: 130.5 kB / 335.4 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.01307, allocations: 40.84 kB / 335.5 MB, free: 4.848 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.01308, allocations: 0 / 335.5 MB, free: 4.848 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.0131, allocations: 34.55 kB / 335.5 MB, free: 4.805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 8.82e-07/0.0131, allocations: 0 / 335.5 MB, free: 4.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001326/0.01443, allocations: 0.9914 MB / 336.5 MB, free: 3.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.01448, allocations: 140.4 kB / 336.6 MB, free: 3.574 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.0146, allocations: 170.9 kB / 336.8 MB, free: 3.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.01462, allocations: 29.7 kB / 336.8 MB, free: 3.363 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.01467, allocations: 116.6 kB / 336.9 MB, free: 3.246 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.0147, allocations: 51.53 kB / 337 MB, free: 3.195 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.01476, allocations: 50.08 kB / 337 MB, free: 3.141 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.01483, allocations: 322.8 kB / 337.4 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.01494, allocations: 99.94 kB / 337.4 MB, free: 2.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.01509, allocations: 212.4 kB / 337.7 MB, free: 2.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.01529, allocations: 213.4 kB / 337.9 MB, free: 2.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.01529, allocations: 0 / 337.9 MB, free: 2.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003345/0.01562, allocations: 298.3 kB / 338.2 MB, free: 1.969 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01564, allocations: 11.94 kB / 338.2 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.01565, allocations: 3.984 kB / 338.2 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.01578, allocations: 52.75 kB / 338.2 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.01586, allocations: 27.98 kB / 338.2 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008207/0.01668, allocations: 1.408 MB / 339.7 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.378e-05/0.01674, allocations: 4 kB / 339.7 MB, free: 352 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.01675, allocations: 12.16 kB / 339.7 MB, free: 340 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.091e-05/0.01684, allocations: 137.8 kB / 339.8 MB, free: 192 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.01687, allocations: 11.91 kB / 339.8 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.699e-05/0.01689, allocations: 25.45 kB / 339.8 MB, free: 160 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01689, allocations: 4 kB / 339.8 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.0169, allocations: 0 / 339.8 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.0169, allocations: 0 / 339.8 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.01707, allocations: 200.6 kB / 340 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01707, allocations: 0 / 340 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.01722, allocations: 59.89 kB / 340.1 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.01722, allocations: 4 kB / 340.1 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.01724, allocations: 8 kB / 340.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01724, allocations: 0 / 340.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01724, allocations: 0 / 340.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.01759, allocations: 411.2 kB / 340.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.01761, allocations: 15.84 kB / 340.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.01762, allocations: 4 kB / 340.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-05/0.01768, allocations: 11.97 kB / 340.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.01771, allocations: 7.984 kB / 340.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.01772, allocations: 12 kB / 340.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.336e-05/0.01778, allocations: 120.2 kB / 340.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01778, allocations: 0 / 340.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001048/0.01883, allocations: 0.5194 MB / 341.2 MB, free: 14.74 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.001165/0.01999, allocations: 1.507 MB / 342.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004559/0.02045, allocations: 370 kB / 343.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02045, allocations: 4 kB / 343.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.875e-05/0.02054, allocations: 79.89 kB / 343.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.02077, allocations: 30.8 kB / 343.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.02272, allocations: 2.463 MB / 345.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.964e-05/0.0228, allocations: 126.7 kB / 345.8 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.652e-05/0.02286, allocations: 29.12 kB / 345.8 MB, free: 9.977 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.02293, allocations: 44.48 kB / 345.8 MB, free: 9.934 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02293, allocations: 0 / 345.8 MB, free: 9.934 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.04732, allocations: 10.64 MB / 356.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.287, allocations: 0 / 356.5 MB, free: 15.43 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 8.946856331080198]