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.001915/0.001915, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002144/0.002144, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.419/1.419, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.00148/0.00148, allocations: 51.92 kB / 373 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09033/0.09181, allocations: 53.33 MB / 426.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00277/0.09458, allocations: 1.633 MB / 427.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1881/0.2827, allocations: 3.225 MB / 431.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.2828, allocations: 2.344 kB / 431.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.2832, allocations: 51.91 kB / 431.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.2832, allocations: 16.44 kB / 431.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.2865, allocations: 1.424 MB / 432.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.2867, allocations: 151 kB / 432.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2868, allocations: 14.72 kB / 432.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.945e-05/0.2869, allocations: 68.06 kB / 432.9 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.401e-05/0.287, allocations: 53.73 kB / 432.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.287, allocations: 7.906 kB / 432.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.2883, allocations: 1.387 MB / 434.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.252e-05/0.2884, allocations: 40 kB / 434.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.2885, allocations: 58.14 kB / 434.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.2897, allocations: 1.201 MB / 435.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2897, allocations: 0 / 435.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2897, allocations: 3.312 kB / 435.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.2897, allocations: 0 / 435.6 MB, free: 7.414 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.0008977/0.2906, allocations: 0.567 MB / 436.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2906, allocations: 8.969 kB / 436.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.2906, allocations: 38.02 kB / 436.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.2907, allocations: 15.44 kB / 436.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.2909, allocations: 221.6 kB / 436.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.2909, allocations: 5.969 kB / 436.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.2909, allocations: 9.828 kB / 436.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.2911, allocations: 124.1 kB / 436.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2911, allocations: 1.219 kB / 436.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.2911, allocations: 5.5 kB / 436.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.2912, allocations: 9.406 kB / 436.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.2913, allocations: 57.14 kB / 436.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.2918, allocations: 383.1 kB / 437.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.2921, allocations: 121.6 kB / 437.2 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.003e-05/0.2922, allocations: 44.05 kB / 437.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.2922, allocations: 4.672 kB / 437.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.2922, allocations: 34.88 kB / 437.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.2922, allocations: 0 / 437.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001924/0.2942, allocations: 1.223 MB / 438.5 MB, free: 5.668 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.2942, allocations: 132.2 kB / 438.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.2943, allocations: 185.5 kB / 438.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.2943, allocations: 32.22 kB / 438.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.2944, allocations: 109.5 kB / 438.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.2944, allocations: 53.98 kB / 439 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.2945, allocations: 42.69 kB / 439 MB, free: 5.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.729e-05/0.2945, allocations: 327 kB / 439.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.2947, allocations: 98.81 kB / 439.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.2949, allocations: 140.3 kB / 439.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.2951, allocations: 204.3 kB / 439.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.2951, allocations: 0 / 439.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004769/0.2956, allocations: 309.6 kB / 440.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2956, allocations: 5.781 kB / 440.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.2957, allocations: 3.578 kB / 440.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.2958, allocations: 48.2 kB / 440.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.296, allocations: 33.09 kB / 440.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008992/0.2969, allocations: 1.507 MB / 441.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.256e-05/0.297, allocations: 13.84 kB / 441.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.297, allocations: 4.312 kB / 441.7 MB, free: 3.152 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 8.992e-05/0.2971, allocations: 136.9 kB / 441.8 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.2971, allocations: 18.88 kB / 441.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.2972, allocations: 21.77 kB / 441.9 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2972, allocations: 1.594 kB / 441.9 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2972, allocations: 1.234 kB / 441.9 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.2972, allocations: 5.859 kB / 441.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.2974, allocations: 247 kB / 442.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2974, allocations: 4.438 kB / 442.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.2977, allocations: 52.28 kB / 442.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2977, allocations: 6.047 kB / 442.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2977, allocations: 1.188 kB / 442.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2977, allocations: 5.938 kB / 442.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2977, allocations: 0 / 442.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.2981, allocations: 413.9 kB / 442.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.2982, allocations: 88.92 kB / 442.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.2982, allocations: 4.719 kB / 442.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.2983, allocations: 8.703 kB / 442.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.2983, allocations: 14.52 kB / 442.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.2983, allocations: 11.5 kB / 442.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.032e-05/0.2984, allocations: 127.8 kB / 442.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2984, allocations: 0 / 442.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001944/0.3003, allocations: 0.515 MB / 443.4 MB, free: 2.312 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.001455/0.3018, allocations: 1.382 MB / 444.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005484/0.3023, allocations: 372.2 kB / 445.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3024, allocations: 0 / 445.1 MB, free: 1.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.3025, allocations: 81.92 kB / 445.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3028, allocations: 36.19 kB / 445.2 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.3053, allocations: 2.455 MB / 447.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.3057, allocations: 0.735 MB / 448.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.85e-05/0.3058, allocations: 28.91 kB / 448.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.404e-05/0.3058, allocations: 48.27 kB / 448.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3058, allocations: 0 / 448.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03878/0.3446, allocations: 9.876 MB / 458.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.705/10.05, allocations: 16.83 kB / 458.4 MB, free: 11.41 MB / 366.1 MB " [Timeout remaining time 650] (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: 12.412692434852943]