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.001713/0.001713, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002263/0.002263, allocations: 215.3 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.588/1.588, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001691/0.001691, allocations: 47.92 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2526, allocations: 53.36 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003641/0.2562, allocations: 1.64 MB / 432.8 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005737/0.262, allocations: 3.257 MB / 436 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.2621, allocations: 3.938 kB / 436 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.2625, allocations: 59.75 kB / 436.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.2627, allocations: 19.78 kB / 436.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004313/0.267, allocations: 1.467 MB / 437.6 MB, free: 424 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.2673, allocations: 147.6 kB / 437.7 MB, free: 276 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2674, allocations: 21.28 kB / 437.7 MB, free: 252 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.093e-05/0.2675, allocations: 51.84 kB / 437.8 MB, free: 200 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.2676, allocations: 63.69 kB / 437.8 MB, free: 136 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.2676, allocations: 8 kB / 437.8 MB, free: 128 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.2699, allocations: 1.44 MB / 439.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.27, allocations: 39.84 kB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.967e-05/0.2701, allocations: 59.59 kB / 439.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.2717, allocations: 1.208 MB / 440.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2717, allocations: 4 kB / 440.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2717, allocations: 0 / 440.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2717, allocations: 0 / 440.6 MB, free: 13.38 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.001188/0.2729, allocations: 0.5013 MB / 441.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2729, allocations: 8.031 kB / 441.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.24e-05/0.273, allocations: 38.75 kB / 441.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.273, allocations: 16.84 kB / 441.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.2733, allocations: 159.1 kB / 441.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2733, allocations: 8.375 kB / 441.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.2733, allocations: 20.12 kB / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.2736, allocations: 121 kB / 441.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2736, allocations: 0 / 441.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.2736, allocations: 4 kB / 441.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.2736, allocations: 4 kB / 441.5 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.2738, allocations: 59.89 kB / 441.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006692/0.2745, allocations: 355.6 kB / 441.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.2748, allocations: 118.6 kB / 442 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.579e-05/0.2749, allocations: 44.84 kB / 442 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.275, allocations: 192 / 442 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.275, allocations: 42.48 kB / 442.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.275, allocations: 0 / 442.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002314/0.2773, allocations: 0.9992 MB / 443.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.766e-05/0.2774, allocations: 132.5 kB / 443.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.2776, allocations: 186.2 kB / 443.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.2776, allocations: 25.7 kB / 443.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.243e-05/0.2777, allocations: 116.5 kB / 443.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.2778, allocations: 43.59 kB / 443.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-05/0.2779, allocations: 49.7 kB / 443.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.278, allocations: 322.8 kB / 443.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.2782, allocations: 95.94 kB / 444 MB, free: 9.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.2784, allocations: 145.8 kB / 444.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.2788, allocations: 204.7 kB / 444.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2788, allocations: 0 / 444.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005823/0.2794, allocations: 310.1 kB / 444.7 MB, free: 8.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2794, allocations: 4 kB / 444.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2794, allocations: 0 / 444.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/0.2796, allocations: 44.81 kB / 444.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.2798, allocations: 39.92 kB / 444.8 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.2812, allocations: 1.408 MB / 446.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2813, allocations: 15.95 kB / 446.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.2813, allocations: 4 kB / 446.2 MB, free: 7.359 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.0001427/0.2815, allocations: 134 kB / 446.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.2815, allocations: 15.91 kB / 446.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.036e-05/0.2816, allocations: 33.55 kB / 446.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2816, allocations: 0 / 446.4 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2816, allocations: 3.938 kB / 446.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2816, allocations: 0 / 446.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.2819, allocations: 212.6 kB / 446.6 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2819, allocations: 8 kB / 446.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.2822, allocations: 55.89 kB / 446.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2822, allocations: 0 / 446.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.2822, allocations: 4 kB / 446.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2822, allocations: 0 / 446.6 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.2822, allocations: 11.94 kB / 446.7 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/0.2828, allocations: 406 kB / 447.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.485e-05/0.2828, allocations: 11.91 kB / 447.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.2829, allocations: 8 kB / 447.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.283, allocations: 8.031 kB / 447.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.283, allocations: 11.92 kB / 447.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.283, allocations: 4 kB / 447.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.2831, allocations: 132.6 kB / 447.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2831, allocations: 0 / 447.2 MB, free: 6.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001513/0.2847, allocations: 0.5116 MB / 447.7 MB, free: 5.746 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.002187/0.2868, allocations: 1.387 MB / 449.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007686/0.2876, allocations: 373.9 kB / 449.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2876, allocations: 0 / 449.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.2878, allocations: 83.83 kB / 449.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.2882, allocations: 35.91 kB / 449.6 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.2919, allocations: 2.457 MB / 452.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.2923, allocations: 0.732 MB / 452.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.2924, allocations: 29.06 kB / 452.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.2925, allocations: 47.42 kB / 452.9 MB, free: 456 kB / 350.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2925, allocations: 4 kB / 452.9 MB, free: 452 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0458/0.3383, allocations: 10.01 MB / 462.9 MB, free: 6.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.41, allocations: 4.734 kB / 462.9 MB, free: 6.555 MB / 366.1 MB " [Timeout remaining time 647] (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/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_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: 15.029936475912109]