Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.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.001347/0.001347, 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.001442/0.001442, 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.804/1.804, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.89 kB / 377.8 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2435, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003478/0.247, allocations: 2.04 MB / 433.2 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006479/0.2535, allocations: 3.772 MB / 437 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.2537, allocations: 19.75 kB / 437 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006237/0.2543, allocations: 183.1 kB / 437.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.2545, allocations: 47.56 kB / 437.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004781/0.2593, allocations: 1.936 MB / 439.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007861/0.2601, allocations: 0.5027 MB / 439.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.2602, allocations: 29.27 kB / 439.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.2605, allocations: 195.3 kB / 439.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/0.2608, allocations: 171.2 kB / 440.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.2609, allocations: 24 kB / 440.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002951/0.2638, allocations: 1.92 MB / 442 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.264, allocations: 119.6 kB / 442.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.2642, allocations: 170.9 kB / 442.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.2666, allocations: 1.805 MB / 444.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.2666, allocations: 0 / 444.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2666, allocations: 3.938 kB / 444.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.2666, allocations: 4 kB / 444.1 MB, free: 9.746 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001635/0.2682, allocations: 0.8391 MB / 444.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.2682, allocations: 8.031 kB / 444.9 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.335e-05/0.2683, allocations: 54.73 kB / 445 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.558e-05/0.2684, allocations: 48.61 kB / 445 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.2688, allocations: 295.3 kB / 445.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.2689, allocations: 16.66 kB / 445.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.678e-05/0.2689, allocations: 32.08 kB / 445.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.2694, allocations: 307.6 kB / 445.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2694, allocations: 4 kB / 445.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.2694, allocations: 8 kB / 445.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.2694, allocations: 4 kB / 445.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.2697, allocations: 144.7 kB / 445.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.2709, allocations: 0.6397 MB / 446.5 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.2715, allocations: 322.5 kB / 446.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.2717, allocations: 100.8 kB / 446.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.2718, allocations: 4 kB / 446.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.2718, allocations: 42.56 kB / 446.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.2718, allocations: 112 / 446.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007294/0.2725, allocations: 385.1 kB / 447.3 MB, free: 6.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002018/0.2727, allocations: 368 kB / 447.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.2732, allocations: 405.8 kB / 448.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.2732, allocations: 37.7 kB / 448.1 MB, free: 5.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.2734, allocations: 192.9 kB / 448.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/0.2734, allocations: 91.27 kB / 448.4 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.2736, allocations: 105.7 kB / 448.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2738, allocations: 354.7 kB / 448.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.2741, allocations: 208.2 kB / 449 MB, free: 4.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/0.2745, allocations: 318 kB / 449.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005872/0.2751, allocations: 392.6 kB / 449.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2751, allocations: 0 / 449.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001121/0.2763, allocations: 0.645 MB / 450.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2763, allocations: 10.34 kB / 450.4 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/0.2763, allocations: 7.984 kB / 450.4 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/0.2767, allocations: 134.4 kB / 450.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.277, allocations: 63.91 kB / 450.6 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004073/0.2811, allocations: 4.248 MB / 454.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.2813, allocations: 47.75 kB / 454.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.2814, allocations: 12 kB / 454.9 MB, free: 14.23 MB / 366.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002426/0.2816, allocations: 177.7 kB / 455.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-05/0.2817, allocations: 47.72 kB / 455.1 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.935e-05/0.2818, allocations: 39.84 kB / 455.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2818, allocations: 7.938 kB / 455.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.2818, allocations: 4 kB / 455.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2818, allocations: 3.938 kB / 455.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.2822, allocations: 328.4 kB / 455.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2822, allocations: 0 / 455.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.2825, allocations: 39.92 kB / 455.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2825, allocations: 0 / 455.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.2825, allocations: 11.98 kB / 455.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2825, allocations: 3.938 kB / 455.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2825, allocations: 0 / 455.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007164/0.2833, allocations: 0.5058 MB / 456 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.2833, allocations: 39.66 kB / 456.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.2834, allocations: 15.92 kB / 456.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.2835, allocations: 15.98 kB / 456.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.2836, allocations: 15.95 kB / 456.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.2836, allocations: 12 kB / 456.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002875/0.2839, allocations: 271.1 kB / 456.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2839, allocations: 0 / 456.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001858/0.2858, allocations: 0.6559 MB / 457.1 MB, free: 11.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.002575/0.2883, allocations: 1.607 MB / 458.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.2899, allocations: 0.9218 MB / 459.6 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.2899, allocations: 4 kB / 459.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.2901, allocations: 119.2 kB / 459.7 MB, free: 9.238 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.2907, allocations: 126.9 kB / 459.8 MB, free: 9.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006869/0.2976, allocations: 4.51 MB / 464.3 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.2981, allocations: 0.8419 MB / 465.2 MB, free: 3.645 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.2983, allocations: 70.86 kB / 465.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.2985, allocations: 135.4 kB / 465.4 MB, free: 3.438 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2985, allocations: 0 / 465.4 MB, free: 3.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07313/0.3717, allocations: 17.42 MB / 482.8 MB, free: 2.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.21, allocations: 4.75 kB / 482.8 MB, free: 2.129 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Filter.fmu > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Filter.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.073811328969896]