Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.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.001211/0.001211, allocations: 104.9 kB / 21.96 MB, free: 5.219 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.001326/0.001326, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 62.67 kB / 348 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2412, allocations: 49.16 MB / 397.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002487/0.2437, allocations: 1.889 MB / 399 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004635/0.2483, allocations: 3.491 MB / 402.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.2485, allocations: 19.94 kB / 402.5 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.2489, allocations: 186.8 kB / 402.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.249, allocations: 48.53 kB / 402.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004245/0.2533, allocations: 1.943 MB / 404.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005392/0.2538, allocations: 0.4944 MB / 405.2 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.2539, allocations: 44.42 kB / 405.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.2541, allocations: 187.5 kB / 405.4 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.2543, allocations: 170.4 kB / 405.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.667e-05/0.2543, allocations: 22.84 kB / 405.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.2571, allocations: 1.893 MB / 407.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.2572, allocations: 121.7 kB / 407.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.2574, allocations: 130.5 kB / 407.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.2591, allocations: 1.81 MB / 409.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2591, allocations: 0 / 409.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2591, allocations: 3.938 kB / 409.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.2591, allocations: 0 / 409.6 MB, free: 2.625 MB / 318.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.001362/0.2605, allocations: 0.8441 MB / 410.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2605, allocations: 16.86 kB / 410.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.352e-05/0.2605, allocations: 8.312 kB / 410.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.709e-05/0.2606, allocations: 45.53 kB / 410.5 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.94e-05/0.2606, allocations: 51.23 kB / 410.5 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.261, allocations: 290.3 kB / 410.8 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.261, allocations: 17.09 kB / 410.8 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.261, allocations: 32.33 kB / 410.9 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.2615, allocations: 0.6058 MB / 411.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2615, allocations: 0 / 411.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.2615, allocations: 11.09 kB / 411.5 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2615, allocations: 7.641 kB / 411.5 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.2618, allocations: 144.2 kB / 411.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009278/0.2627, allocations: 0.5918 MB / 412.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.2632, allocations: 322.2 kB / 412.5 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.2634, allocations: 102.8 kB / 412.6 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.2634, allocations: 3.375 kB / 412.6 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.2634, allocations: 37.47 kB / 412.7 MB, free: 260 kB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.263e-06/0.2634, allocations: 0 / 412.7 MB, free: 260 kB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005766/0.264, allocations: 382.5 kB / 413 MB, free: 60 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002033/0.2642, allocations: 364.7 kB / 413.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.2646, allocations: 410.5 kB / 413.8 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.2646, allocations: 37.02 kB / 413.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.2648, allocations: 197.3 kB / 414 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.728e-05/0.2649, allocations: 98.16 kB / 414.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.265, allocations: 100.9 kB / 414.2 MB, free: 15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.2652, allocations: 359.3 kB / 414.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.2656, allocations: 201.2 kB / 414.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006421/0.2662, allocations: 0.6102 MB / 415.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/0.2668, allocations: 397 kB / 415.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2668, allocations: 0 / 415.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001224/0.268, allocations: 0.6507 MB / 416.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.268, allocations: 9.406 kB / 416.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.683e-05/0.2681, allocations: 9.219 kB / 416.4 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004671/0.2685, allocations: 126.1 kB / 416.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.2688, allocations: 63.3 kB / 416.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/0.2728, allocations: 4.238 MB / 420.9 MB, free: 9.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.2731, allocations: 51.98 kB / 420.9 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.2732, allocations: 13.56 kB / 420.9 MB, free: 9.172 MB / 334.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.0002981/0.2735, allocations: 177.4 kB / 421.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.2737, allocations: 41.62 kB / 421.1 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.399e-05/0.2737, allocations: 44.09 kB / 421.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2737, allocations: 10.53 kB / 421.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2737, allocations: 1.094 kB / 421.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2737, allocations: 0 / 421.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.2742, allocations: 292.3 kB / 421.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2742, allocations: 0 / 421.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002995/0.2745, allocations: 47.69 kB / 421.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2745, allocations: 3.938 kB / 421.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.2745, allocations: 16.92 kB / 421.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2746, allocations: 1.156 kB / 421.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2746, allocations: 0 / 421.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006619/0.2752, allocations: 0.5076 MB / 422.1 MB, free: 8.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.2753, allocations: 33.81 kB / 422.1 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.2753, allocations: 15.09 kB / 422.1 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.2755, allocations: 13.95 kB / 422.1 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.2755, allocations: 18.12 kB / 422.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.2756, allocations: 11.66 kB / 422.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002765/0.2758, allocations: 274.9 kB / 422.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2758, allocations: 0 / 422.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002617/0.2785, allocations: 0.6465 MB / 423.1 MB, free: 8.086 MB / 334.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.002772/0.2812, allocations: 1.623 MB / 424.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.2827, allocations: 0.9187 MB / 425.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.2827, allocations: 4 kB / 425.6 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.2829, allocations: 115.9 kB / 425.7 MB, free: 5.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/0.2835, allocations: 118.1 kB / 425.8 MB, free: 5.398 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006639/0.2901, allocations: 4.51 MB / 430.3 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.2904, allocations: 237.3 kB / 430.6 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000215/0.2906, allocations: 70.92 kB / 430.6 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.2908, allocations: 127.4 kB / 430.8 MB, free: 340 kB / 334.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2908, allocations: 0 / 430.8 MB, free: 340 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.051/0.3418, allocations: 17.9 MB / 448.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.95, allocations: 8.016 kB / 448.7 MB, free: 14.36 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_Filter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.344301381031983]