Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001782/0.001782, allocations: 112.4 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002199/0.002199, allocations: 204.9 kB / 21.46 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 71.88 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.09908, allocations: 53.31 MB / 426.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00286/0.1019, allocations: 1.626 MB / 428.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005063/0.107, allocations: 3.23 MB / 431.5 MB, free: 148 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1071, allocations: 0 / 431.5 MB, free: 148 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.1075, allocations: 63.62 kB / 431.6 MB, free: 84 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.1075, allocations: 11.88 kB / 431.6 MB, free: 72 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1878/0.2953, allocations: 1.416 MB / 433 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.2956, allocations: 156.1 kB / 433.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2957, allocations: 17.5 kB / 433.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.115e-05/0.2957, allocations: 57.08 kB / 433.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.841e-05/0.2958, allocations: 52.83 kB / 433.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.2958, allocations: 6.281 kB / 433.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.2976, allocations: 1.394 MB / 434.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.935e-05/0.2977, allocations: 35.77 kB / 434.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.196e-05/0.2978, allocations: 56.86 kB / 434.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.2994, allocations: 1.202 MB / 436 MB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2994, allocations: 1.188 kB / 436 MB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2994, allocations: 0.875 kB / 436 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.2994, allocations: 0 / 436 MB, free: 7.445 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.001309/0.3007, allocations: 0.5679 MB / 436.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3008, allocations: 11.34 kB / 436.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.3008, allocations: 36.14 kB / 436.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.3008, allocations: 20.27 kB / 436.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.3011, allocations: 223.3 kB / 436.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3011, allocations: 5.312 kB / 436.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.3011, allocations: 10.41 kB / 436.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.3014, allocations: 129.7 kB / 437 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3014, allocations: 2.844 kB / 437 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.3014, allocations: 2.688 kB / 437 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.3014, allocations: 2.25 kB / 437 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.3016, allocations: 57.58 kB / 437 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.3021, allocations: 389 kB / 437.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.3025, allocations: 125.7 kB / 437.5 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.216e-05/0.3026, allocations: 37.22 kB / 437.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.3026, allocations: 10.38 kB / 437.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.3026, allocations: 35.11 kB / 437.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.254e-06/0.3026, allocations: 1.875 kB / 437.6 MB, free: 6.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001986/0.3046, allocations: 1.219 MB / 438.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3046, allocations: 133.7 kB / 439 MB, free: 5.547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.3048, allocations: 175.5 kB / 439.1 MB, free: 5.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3048, allocations: 31.39 kB / 439.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.3048, allocations: 114.7 kB / 439.3 MB, free: 5.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.3049, allocations: 50.33 kB / 439.3 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.3049, allocations: 44.08 kB / 439.4 MB, free: 5.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.616e-05/0.305, allocations: 332.6 kB / 439.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.3052, allocations: 94.06 kB / 439.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.3053, allocations: 134.1 kB / 439.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.3056, allocations: 199.4 kB / 440.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3056, allocations: 0 / 440.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005128/0.3061, allocations: 320.6 kB / 440.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.3062, allocations: 5.344 kB / 440.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.3062, allocations: 2.578 kB / 440.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.3064, allocations: 43.38 kB / 440.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.3065, allocations: 33.5 kB / 440.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.3076, allocations: 1.512 MB / 442 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.918e-05/0.3077, allocations: 9.828 kB / 442 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.3077, allocations: 8.344 kB / 442 MB, free: 3.285 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.0001131/0.3078, allocations: 138.1 kB / 442.2 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.3078, allocations: 14.16 kB / 442.2 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.3079, allocations: 25.75 kB / 442.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3079, allocations: 3.312 kB / 442.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3079, allocations: 0.8438 kB / 442.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3079, allocations: 8.219 kB / 442.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.3082, allocations: 245.2 kB / 442.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3082, allocations: 0.5312 kB / 442.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.3084, allocations: 58.27 kB / 442.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3085, allocations: 1.094 kB / 442.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.3085, allocations: 1.953 kB / 442.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3085, allocations: 0 / 442.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3085, allocations: 1.188 kB / 442.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.3089, allocations: 418.2 kB / 442.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.309, allocations: 90.05 kB / 443 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.309, allocations: 6.062 kB / 443 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3091, allocations: 8.641 kB / 443 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.3092, allocations: 9.609 kB / 443 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3092, allocations: 6.594 kB / 443 MB, free: 2.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.125e-05/0.3092, allocations: 127.5 kB / 443.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3092, allocations: 0 / 443.2 MB, free: 2.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002623/0.3119, allocations: 0.5184 MB / 443.7 MB, free: 2.453 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.002265/0.3141, allocations: 1.39 MB / 445.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006947/0.3148, allocations: 372.3 kB / 445.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3148, allocations: 4 kB / 445.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.315, allocations: 90.73 kB / 445.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3154, allocations: 33.27 kB / 445.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.3182, allocations: 2.448 MB / 448 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.3186, allocations: 0.7342 MB / 448.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.3187, allocations: 31.67 kB / 448.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.667e-05/0.3188, allocations: 43.59 kB / 448.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3188, allocations: 2.625 kB / 448.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04277/0.3616, allocations: 9.936 MB / 458.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.991/10.35, allocations: 13.05 kB / 458.8 MB, free: 11.55 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.779843479394913]