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.001414/0.001414, allocations: 113 kB / 19.04 MB, free: 3.254 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.001298/0.001298, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.473/1.473, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 51.91 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2859, allocations: 52.14 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003096/0.289, allocations: 1.625 MB / 422.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005492/0.2945, allocations: 3.2 MB / 425.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.2946, allocations: 7.938 kB / 425.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.2949, allocations: 55.69 kB / 425.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.426e-05/0.295, allocations: 19.86 kB / 425.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.2985, allocations: 1.397 MB / 427.2 MB, free: 8.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.2988, allocations: 151.6 kB / 427.3 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2989, allocations: 25.05 kB / 427.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.147e-05/0.299, allocations: 51.83 kB / 427.4 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.2991, allocations: 59.72 kB / 427.4 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.2991, allocations: 8 kB / 427.4 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.301, allocations: 1.386 MB / 428.8 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.3011, allocations: 31.92 kB / 428.9 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.428e-05/0.3012, allocations: 51.67 kB / 428.9 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.3025, allocations: 1.206 MB / 430.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3025, allocations: 0 / 430.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3025, allocations: 0 / 430.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3025, allocations: 0 / 430.1 MB, free: 5.809 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.001062/0.3035, allocations: 0.5689 MB / 430.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.3036, allocations: 11.97 kB / 430.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.3036, allocations: 16.84 kB / 430.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.3039, allocations: 224 kB / 430.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3039, allocations: 7.938 kB / 430.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.304, allocations: 12 kB / 431 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.3042, allocations: 121.1 kB / 431.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3042, allocations: 0 / 431.1 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3042, allocations: 7.938 kB / 431.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.3042, allocations: 4 kB / 431.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.3044, allocations: 51.95 kB / 431.1 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006144/0.305, allocations: 384.6 kB / 431.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.3054, allocations: 130.5 kB / 431.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.3054, allocations: 40.83 kB / 431.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.3055, allocations: 0 / 431.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.3055, allocations: 34.56 kB / 431.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.3055, allocations: 4 kB / 431.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002318/0.3078, allocations: 1.222 MB / 432.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.3079, allocations: 136.5 kB / 433.1 MB, free: 2.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.3081, allocations: 174.3 kB / 433.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.3081, allocations: 33.64 kB / 433.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.164e-05/0.3082, allocations: 112.5 kB / 433.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.3083, allocations: 55.55 kB / 433.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.334e-05/0.3084, allocations: 41.7 kB / 433.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3085, allocations: 334.8 kB / 433.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.3087, allocations: 91.95 kB / 433.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.3089, allocations: 135.4 kB / 434 MB, free: 1.516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.3093, allocations: 196.9 kB / 434.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3093, allocations: 0 / 434.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005757/0.3098, allocations: 314.1 kB / 434.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.3098, allocations: 10.97 kB / 434.5 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.3099, allocations: 3.984 kB / 434.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/0.3101, allocations: 40.83 kB / 434.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.3102, allocations: 27.98 kB / 434.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.3117, allocations: 1.527 MB / 436.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.3119, allocations: 7.984 kB / 436.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.3119, allocations: 12.16 kB / 436.2 MB, free: 15.23 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.0001479/0.312, allocations: 140.7 kB / 436.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.3121, allocations: 11.91 kB / 436.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.3121, allocations: 25.53 kB / 436.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3121, allocations: 3.938 kB / 436.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3121, allocations: 4 kB / 436.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3121, allocations: 3.938 kB / 436.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.3125, allocations: 245.5 kB / 436.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3125, allocations: 4 kB / 436.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.3127, allocations: 47.97 kB / 436.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3127, allocations: 0 / 436.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.3128, allocations: 7.984 kB / 436.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3128, allocations: 8.594 kB / 436.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3128, allocations: 0 / 436.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/0.3134, allocations: 411.1 kB / 437 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.3134, allocations: 89.06 kB / 437.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3134, allocations: 8 kB / 437.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3136, allocations: 7.938 kB / 437.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.3136, allocations: 12.03 kB / 437.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3136, allocations: 3.938 kB / 437.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.3137, allocations: 132.2 kB / 437.3 MB, free: 14 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3137, allocations: 0 / 437.3 MB, free: 14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00165/0.3154, allocations: 0.5194 MB / 437.8 MB, free: 13.48 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.001154/0.3165, allocations: 0.5487 MB / 438.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007834/0.3173, allocations: 373.9 kB / 438.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3173, allocations: 0 / 438.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.3175, allocations: 87.88 kB / 438.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.3178, allocations: 27.98 kB / 438.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007998/0.3186, allocations: 413.3 kB / 439.2 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.3191, allocations: 0.7358 MB / 440 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.3192, allocations: 37 kB / 440 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.03e-05/0.3192, allocations: 15.44 kB / 440 MB, free: 11.19 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3192, allocations: 0 / 440 MB, free: 11.19 MB / 350.1 MB Notification: Performance of Templates: time 0.01684/0.3361, allocations: 7.956 MB / 448 MB, free: 3.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/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: 4.7614940060302615]