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.001276/0.001276, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001334/0.001334, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.339/1.339, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 39.94 kB / 378.5 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2264, allocations: 53.36 MB / 431.8 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002985/0.2293, allocations: 1.78 MB / 433.6 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005339/0.2347, allocations: 3.312 MB / 436.9 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.2348, allocations: 15.81 kB / 436.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.2352, allocations: 139.4 kB / 437.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.862e-05/0.2353, allocations: 35.66 kB / 437.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003636/0.2389, allocations: 1.772 MB / 438.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.2394, allocations: 315.2 kB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2395, allocations: 24.91 kB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.2397, allocations: 127.5 kB / 439.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.2399, allocations: 111.3 kB / 439.5 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.2399, allocations: 12 kB / 439.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.2402, allocations: 175.7 kB / 439.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2403, allocations: 75.69 kB / 439.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.2404, allocations: 75.53 kB / 439.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004427/0.2409, allocations: 354.5 kB / 440.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2409, allocations: 0 / 440.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2409, allocations: 0 / 440.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2409, allocations: 0 / 440.1 MB, free: 14.35 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.0008408/0.2417, allocations: 0.5163 MB / 440.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2418, allocations: 8.031 kB / 440.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.804e-05/0.2418, allocations: 4.375 kB / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.2418, allocations: 46.73 kB / 440.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.2419, allocations: 36.75 kB / 440.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.2423, allocations: 222.5 kB / 441 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.2423, allocations: 15.94 kB / 441 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.2423, allocations: 15.95 kB / 441 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.2428, allocations: 440 kB / 441.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2428, allocations: 0 / 441.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.2428, allocations: 11.98 kB / 441.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2428, allocations: 7.938 kB / 441.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.243, allocations: 79.94 kB / 441.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007494/0.2437, allocations: 443.7 kB / 442 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.244, allocations: 154.5 kB / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.2441, allocations: 60.81 kB / 442.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.2441, allocations: 0 / 442.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.2442, allocations: 38.56 kB / 442.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.2442, allocations: 0 / 442.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004817/0.2447, allocations: 229.1 kB / 442.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/0.2448, allocations: 294.7 kB / 442.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002863/0.2451, allocations: 276.5 kB / 443 MB, free: 11.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.2451, allocations: 33.7 kB / 443 MB, free: 11.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.2453, allocations: 156.5 kB / 443.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.2453, allocations: 55.53 kB / 443.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/0.2454, allocations: 57.7 kB / 443.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2456, allocations: 342.8 kB / 443.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.2457, allocations: 95.94 kB / 443.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.2461, allocations: 415.7 kB / 444.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.2464, allocations: 214.1 kB / 444.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2464, allocations: 3.938 kB / 444.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004546/0.2469, allocations: 301.6 kB / 444.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2469, allocations: 8 kB / 444.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.2469, allocations: 7.984 kB / 444.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2469, allocations: 0 / 444.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.2472, allocations: 51.84 kB / 444.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.2472, allocations: 4 kB / 444.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.2473, allocations: 35.83 kB / 444.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.2473, allocations: 8 kB / 444.7 MB, free: 9.34 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.0001364/0.2474, allocations: 146 kB / 444.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.2475, allocations: 27.81 kB / 444.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.2476, allocations: 25.91 kB / 444.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2476, allocations: 7.938 kB / 444.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2476, allocations: 0 / 444.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2476, allocations: 3.984 kB / 444.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.2479, allocations: 220.6 kB / 445.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2479, allocations: 0 / 445.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.248, allocations: 31.98 kB / 445.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.248, allocations: 0 / 445.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.248, allocations: 7.984 kB / 445.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.248, allocations: 3.938 kB / 445.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.248, allocations: 0 / 445.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/0.2485, allocations: 339.2 kB / 445.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.2485, allocations: 23.81 kB / 445.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.2486, allocations: 4 kB / 445.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2487, allocations: 15.98 kB / 445.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.2487, allocations: 7.984 kB / 445.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.2487, allocations: 8 kB / 445.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001835/0.2489, allocations: 199.1 kB / 445.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2489, allocations: 0 / 445.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.2493, allocations: 71.88 kB / 445.9 MB, free: 8.152 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.0009052/0.2502, allocations: 0.915 MB / 446.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.2506, allocations: 272.1 kB / 447 MB, free: 6.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2506, allocations: 4 kB / 447 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.2507, allocations: 63.89 kB / 447.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.2512, allocations: 89.38 kB / 447.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.2545, allocations: 2.789 MB / 450 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.2547, allocations: 161.8 kB / 450.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.2548, allocations: 41.92 kB / 450.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2549, allocations: 83.41 kB / 450.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2549, allocations: 0 / 450.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.284, allocations: 7.085 MB / 457.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.91, allocations: 2.922 kB / 457.3 MB, free: 12.72 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.27713477704674]