Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.004677/0.004677, allocations: 111.8 kB / 21.97 MB, free: 5.242 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.001293/0.001293, allocations: 206.4 kB / 25.27 MB, free: 3.234 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.252/1.252, allocations: 207.6 MB / 236 MB, free: 9.992 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.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",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.001617/0.001617, allocations: 51.88 kB / 348 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2155, allocations: 49.16 MB / 397.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00234/0.2178, allocations: 1.838 MB / 399 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004366/0.2222, allocations: 3.593 MB / 402.6 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.2223, allocations: 15.31 kB / 402.6 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.2227, allocations: 132.1 kB / 402.7 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.476e-05/0.2228, allocations: 41.08 kB / 402.7 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00361/0.2264, allocations: 1.755 MB / 404.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000364/0.2267, allocations: 316.3 kB / 404.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.2268, allocations: 28.86 kB / 404.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.227, allocations: 111.3 kB / 404.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.2271, allocations: 111 kB / 405 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.2272, allocations: 11.91 kB / 405.1 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.2275, allocations: 188.3 kB / 405.2 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2276, allocations: 66.72 kB / 405.3 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.353e-05/0.2276, allocations: 106.1 kB / 405.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.2281, allocations: 340.3 kB / 405.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2281, allocations: 1.125 kB / 405.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2281, allocations: 0 / 405.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.2281, allocations: 0 / 405.7 MB, free: 4.23 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007331/0.2288, allocations: 0.5137 MB / 406.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2289, allocations: 12.39 kB / 406.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.494e-05/0.2289, allocations: 7.875 kB / 406.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.2289, allocations: 46.64 kB / 406.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.229, allocations: 31.88 kB / 406.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.2294, allocations: 229 kB / 406.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2294, allocations: 13.44 kB / 406.6 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.2294, allocations: 15 kB / 406.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.2297, allocations: 199.2 kB / 406.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2297, allocations: 0 / 406.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.2297, allocations: 11.75 kB / 406.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2297, allocations: 5.312 kB / 406.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.2299, allocations: 89.22 kB / 406.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.2306, allocations: 458.9 kB / 407.4 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.2308, allocations: 168.8 kB / 407.5 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.2309, allocations: 61.66 kB / 407.6 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.231, allocations: 1.406 kB / 407.6 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.231, allocations: 41.56 kB / 407.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.143e-06/0.231, allocations: 0 / 407.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004026/0.2314, allocations: 224.8 kB / 407.8 MB, free: 2.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.2314, allocations: 288.9 kB / 408.1 MB, free: 2.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.2316, allocations: 284 kB / 408.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.2317, allocations: 31.19 kB / 408.4 MB, free: 2.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.2317, allocations: 159.5 kB / 408.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.2318, allocations: 58.5 kB / 408.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.621e-05/0.2319, allocations: 58.73 kB / 408.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.2319, allocations: 339.7 kB / 409 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.2321, allocations: 97.31 kB / 409.1 MB, free: 1.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.2322, allocations: 181.8 kB / 409.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.2325, allocations: 212.2 kB / 409.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2325, allocations: 0 / 409.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004/0.2329, allocations: 310.7 kB / 409.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2329, allocations: 5.359 kB / 409.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.233, allocations: 5.156 kB / 409.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.233, allocations: 1.375 kB / 409.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.2332, allocations: 58.64 kB / 409.9 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2332, allocations: 5.812 kB / 409.9 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.792e-05/0.2333, allocations: 25.5 kB / 409.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.2333, allocations: 5.5 kB / 409.9 MB, free: 1.344 MB / 318.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.0001033/0.2335, allocations: 150.5 kB / 410.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.2335, allocations: 28.34 kB / 410.1 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.2335, allocations: 27.58 kB / 410.1 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.2336, allocations: 5.984 kB / 410.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2336, allocations: 0 / 410.1 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.2336, allocations: 6.047 kB / 410.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.2338, allocations: 239.2 kB / 410.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2338, allocations: 1.781 kB / 410.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.234, allocations: 21.52 kB / 410.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.234, allocations: 1.703 kB / 410.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.234, allocations: 8.062 kB / 410.4 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.234, allocations: 5.438 kB / 410.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.234, allocations: 0.6094 kB / 410.4 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.2344, allocations: 340.7 kB / 410.7 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.2344, allocations: 20.55 kB / 410.8 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.2344, allocations: 8.5 kB / 410.8 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.2346, allocations: 18.62 kB / 410.8 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.2346, allocations: 7.891 kB / 410.8 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.2346, allocations: 3.375 kB / 410.8 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.2347, allocations: 198.6 kB / 411 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2347, allocations: 3.938 kB / 411 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003333/0.2351, allocations: 86.28 kB / 411.1 MB, free: 0.5664 MB / 318.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.0006808/0.2357, allocations: 0.9004 MB / 412 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004485/0.2362, allocations: 270.7 kB / 412.2 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2362, allocations: 5.094 kB / 412.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.2363, allocations: 63.41 kB / 412.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.2368, allocations: 79.16 kB / 412.4 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.24, allocations: 2.797 MB / 415.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.2404, allocations: 0.7699 MB / 416 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.2406, allocations: 37.62 kB / 416 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.2407, allocations: 88.56 kB / 416.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2407, allocations: 0 / 416.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.2695, allocations: 6.786 MB / 422.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.03, allocations: 12.05 kB / 422.9 MB, free: 9 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.285366864001844]