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.001587/0.001587, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001415/0.001415, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.39/1.39, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.00195/0.00195, allocations: 71.88 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2592, allocations: 53.42 MB / 431.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003318/0.2625, allocations: 1.632 MB / 432.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005363/0.2679, allocations: 3.265 MB / 436.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.268, allocations: 11.94 kB / 436.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.2684, allocations: 51.7 kB / 436.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.184e-05/0.2684, allocations: 19.84 kB / 436.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003651/0.2721, allocations: 1.463 MB / 437.6 MB, free: 276 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.2724, allocations: 151.6 kB / 437.8 MB, free: 124 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2725, allocations: 25.23 kB / 437.8 MB, free: 96 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.984e-05/0.2726, allocations: 55.84 kB / 437.8 MB, free: 40 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.2727, allocations: 55.69 kB / 437.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.2728, allocations: 8 kB / 437.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.2749, allocations: 1.444 MB / 439.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.798e-05/0.275, allocations: 43.83 kB / 439.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.627e-05/0.2751, allocations: 47.67 kB / 439.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.2764, allocations: 1.208 MB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2765, allocations: 0 / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2765, allocations: 3.938 kB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.2765, allocations: 4 kB / 440.7 MB, free: 13.22 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.001118/0.2776, allocations: 0.4935 MB / 441.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.2776, allocations: 12.03 kB / 441.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.2777, allocations: 34.75 kB / 441.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.2777, allocations: 16.84 kB / 441.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.278, allocations: 159.1 kB / 441.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.278, allocations: 8.312 kB / 441.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.2781, allocations: 16.12 kB / 441.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.2783, allocations: 117.1 kB / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.2783, allocations: 4 kB / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.2783, allocations: 4 kB / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2783, allocations: 0 / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.2785, allocations: 59.89 kB / 441.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.2791, allocations: 363.6 kB / 441.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.2795, allocations: 122.5 kB / 442 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.537e-05/0.2796, allocations: 40.83 kB / 442.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.2796, allocations: 4 kB / 442.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.2796, allocations: 42.56 kB / 442.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.2796, allocations: 3.938 kB / 442.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002145/0.2818, allocations: 0.996 MB / 443.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.787e-05/0.2819, allocations: 132.5 kB / 443.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.282, allocations: 178.2 kB / 443.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.2821, allocations: 29.7 kB / 443.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.2821, allocations: 116.5 kB / 443.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.2822, allocations: 55.58 kB / 443.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.295e-05/0.2823, allocations: 41.7 kB / 443.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2824, allocations: 326.8 kB / 444 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.2826, allocations: 95.94 kB / 444.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.2828, allocations: 135.9 kB / 444.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.2831, allocations: 212.9 kB / 444.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.2831, allocations: 0 / 444.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005382/0.2836, allocations: 310.1 kB / 444.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2837, allocations: 4 kB / 444.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.2837, allocations: 5.219 kB / 444.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.2838, allocations: 44.75 kB / 444.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.284, allocations: 31.98 kB / 444.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.2853, allocations: 1.42 MB / 446.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.976e-05/0.2854, allocations: 8 kB / 446.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.2854, allocations: 4 kB / 446.2 MB, free: 7.207 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.0001314/0.2855, allocations: 137.4 kB / 446.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.2856, allocations: 11.91 kB / 446.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.2856, allocations: 25.45 kB / 446.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2856, allocations: 64 / 446.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2856, allocations: 11.94 kB / 446.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2856, allocations: 3.938 kB / 446.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.2859, allocations: 212.6 kB / 446.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2859, allocations: 7.922 kB / 446.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.2862, allocations: 51.97 kB / 446.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2862, allocations: 0 / 446.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.2862, allocations: 0 / 446.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2862, allocations: 4 kB / 446.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2862, allocations: 3.938 kB / 446.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.2867, allocations: 415.2 kB / 447.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.811e-05/0.2868, allocations: 15.91 kB / 447.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.2868, allocations: 4 kB / 447.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.2869, allocations: 12.03 kB / 447.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.287, allocations: 11.92 kB / 447.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.287, allocations: 4 kB / 447.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.2871, allocations: 128.2 kB / 447.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2871, allocations: 4 kB / 447.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001352/0.2884, allocations: 0.5116 MB / 447.8 MB, free: 5.59 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.001827/0.2902, allocations: 1.379 MB / 449.2 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.2909, allocations: 376.1 kB / 449.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2909, allocations: 0 / 449.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.2911, allocations: 87.83 kB / 449.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.2914, allocations: 35.98 kB / 449.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.2945, allocations: 2.453 MB / 452.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.2949, allocations: 0.7319 MB / 452.8 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.17e-05/0.295, allocations: 29.05 kB / 452.9 MB, free: 356 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.2951, allocations: 43.42 kB / 452.9 MB, free: 312 kB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2951, allocations: 4 kB / 452.9 MB, free: 308 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04231/0.3374, allocations: 10.02 MB / 462.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.42, allocations: 6.797 kB / 462.9 MB, free: 6.371 MB / 366.1 MB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 13.739436927018687]