Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.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.001929/0.001929, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002425/0.002425, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 8 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.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 47.92 kB / 377.8 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2526, allocations: 53.36 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003712/0.2563, allocations: 1.864 MB / 433 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006408/0.2628, allocations: 3.6 MB / 436.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.2629, allocations: 11.81 kB / 436.6 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004944/0.2634, allocations: 131.4 kB / 436.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.2635, allocations: 39.66 kB / 436.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004243/0.2678, allocations: 1.762 MB / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005082/0.2683, allocations: 323.1 kB / 438.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.2684, allocations: 20.92 kB / 438.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.2686, allocations: 123.5 kB / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.2688, allocations: 111.4 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.2688, allocations: 12 kB / 439.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003376/0.2692, allocations: 179.7 kB / 439.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.2693, allocations: 67.7 kB / 439.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.2694, allocations: 103.3 kB / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.27, allocations: 343.6 kB / 439.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.27, allocations: 3.938 kB / 439.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.27, allocations: 0 / 439.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.27, allocations: 0 / 439.8 MB, free: 14.18 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008712/0.2708, allocations: 0.5163 MB / 440.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.2709, allocations: 15.95 kB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.357e-05/0.2709, allocations: 42.75 kB / 440.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.665e-05/0.271, allocations: 36.75 kB / 440.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.2714, allocations: 222.5 kB / 440.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.2715, allocations: 20.31 kB / 440.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.2715, allocations: 15.95 kB / 440.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.2719, allocations: 212.3 kB / 440.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2719, allocations: 0 / 440.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.2719, allocations: 0 / 440.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2719, allocations: 4 kB / 440.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.2721, allocations: 87.88 kB / 440.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008907/0.273, allocations: 459.7 kB / 441.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.2733, allocations: 158.5 kB / 441.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.2734, allocations: 60.81 kB / 441.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.2735, allocations: 4 kB / 441.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.2735, allocations: 42.53 kB / 441.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.2735, allocations: 0 / 441.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004851/0.274, allocations: 221.1 kB / 441.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001846/0.2742, allocations: 290.7 kB / 442.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003188/0.2745, allocations: 288.4 kB / 442.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.2745, allocations: 33.69 kB / 442.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.2747, allocations: 156.5 kB / 442.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.2747, allocations: 51.53 kB / 442.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.96e-05/0.2748, allocations: 61.69 kB / 442.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.275, allocations: 342.8 kB / 443.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.2752, allocations: 99.94 kB / 443.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002927/0.2755, allocations: 180.4 kB / 443.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003438/0.2758, allocations: 210 kB / 443.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2758, allocations: 0 / 443.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004957/0.2763, allocations: 309.3 kB / 443.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2763, allocations: 4 kB / 443.9 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/0.2763, allocations: 7.984 kB / 443.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2763, allocations: 0 / 443.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.2766, allocations: 48.08 kB / 443.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.2766, allocations: 11.86 kB / 443.9 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.2768, allocations: 27.83 kB / 443.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.2768, allocations: 8 kB / 444 MB, free: 9.711 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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001915/0.277, allocations: 149.8 kB / 444.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/0.277, allocations: 23.86 kB / 444.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.421e-05/0.2771, allocations: 29.91 kB / 444.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2771, allocations: 0 / 444.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2771, allocations: 3.938 kB / 444.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2771, allocations: 4 kB / 444.2 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.2774, allocations: 244.5 kB / 444.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2774, allocations: 0 / 444.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.2776, allocations: 31.97 kB / 444.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.2776, allocations: 0 / 444.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.2776, allocations: 8 kB / 444.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.2776, allocations: 3.938 kB / 444.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.2776, allocations: 7.938 kB / 444.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.2781, allocations: 327.3 kB / 444.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.2782, allocations: 31.86 kB / 444.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.2782, allocations: 4 kB / 444.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.2783, allocations: 15.98 kB / 444.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.2784, allocations: 11.92 kB / 444.8 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.2784, allocations: 4.094 kB / 444.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001951/0.2786, allocations: 203 kB / 445 MB, free: 8.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2786, allocations: 0 / 445 MB, free: 8.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003612/0.2789, allocations: 71.88 kB / 445.1 MB, free: 8.492 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.001005/0.2799, allocations: 0.9142 MB / 446 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004764/0.2804, allocations: 270.5 kB / 446.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2804, allocations: 0 / 446.3 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.2805, allocations: 59.91 kB / 446.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.281, allocations: 79.97 kB / 446.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.2849, allocations: 2.786 MB / 449.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.2853, allocations: 0.7714 MB / 450 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.2854, allocations: 46.16 kB / 450 MB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.2856, allocations: 83.41 kB / 450.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2856, allocations: 0 / 450.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03884/0.3244, allocations: 6.752 MB / 456.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.94, allocations: 4.031 kB / 456.9 MB, free: 12.74 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.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.514259972143918]