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.001606/0.001606, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.001587/0.001587, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.622/1.622, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",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.002143/0.002143, allocations: 51.92 kB / 347.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3445, allocations: 49.16 MB / 396.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003078/0.3476, allocations: 1.83 MB / 398.2 MB, free: 7.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005819/0.3534, allocations: 3.597 MB / 401.8 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.3536, allocations: 15.25 kB / 401.8 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004484/0.3541, allocations: 127.2 kB / 401.9 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.957e-05/0.3542, allocations: 40.91 kB / 401.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00489/0.359, allocations: 1.759 MB / 403.7 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.3595, allocations: 318.1 kB / 404 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3597, allocations: 28.38 kB / 404 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.3598, allocations: 119.9 kB / 404.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.36, allocations: 106.4 kB / 404.3 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.36, allocations: 16.92 kB / 404.3 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003725/0.3604, allocations: 183.7 kB / 404.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.3605, allocations: 69.55 kB / 404.5 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.847e-05/0.3606, allocations: 101.9 kB / 404.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.3611, allocations: 341.2 kB / 405 MB, free: 4.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3611, allocations: 1.906 kB / 405 MB, free: 4.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3611, allocations: 0 / 405 MB, free: 4.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.3611, allocations: 0 / 405 MB, free: 4.258 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.0007414/0.3618, allocations: 0.5132 MB / 405.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3619, allocations: 13.58 kB / 405.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.3619, allocations: 49.11 kB / 405.5 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.362, allocations: 32.55 kB / 405.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.3623, allocations: 229.8 kB / 405.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3623, allocations: 18.05 kB / 405.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.3624, allocations: 13.62 kB / 405.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.3627, allocations: 200 kB / 406 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3627, allocations: 4 kB / 406 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.3627, allocations: 6.844 kB / 406 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.3627, allocations: 2.656 kB / 406 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.3629, allocations: 89.03 kB / 406.1 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.3636, allocations: 458.4 kB / 406.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.3639, allocations: 166.9 kB / 406.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.364, allocations: 59.67 kB / 406.8 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.364, allocations: 2.188 kB / 406.8 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.364, allocations: 38.06 kB / 406.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.364, allocations: 0 / 406.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004515/0.3645, allocations: 226.9 kB / 407 MB, free: 2.824 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.3646, allocations: 286.8 kB / 407.3 MB, free: 2.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.3648, allocations: 287.1 kB / 407.6 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.3648, allocations: 32.45 kB / 407.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/0.3649, allocations: 155.3 kB / 407.8 MB, free: 2.152 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.3649, allocations: 53.5 kB / 407.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/0.365, allocations: 59.22 kB / 407.9 MB, free: 2.078 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.791e-05/0.3651, allocations: 339 kB / 408.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.3652, allocations: 100.8 kB / 408.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.3654, allocations: 178 kB / 408.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002973/0.3657, allocations: 212.7 kB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3657, allocations: 3.938 kB / 408.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004323/0.3662, allocations: 314.5 kB / 409 MB, free: 1.406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3662, allocations: 5.125 kB / 409 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.3662, allocations: 9.234 kB / 409 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3662, allocations: 5.031 kB / 409 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.3665, allocations: 47.98 kB / 409.1 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3665, allocations: 5.25 kB / 409.1 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.3666, allocations: 25.23 kB / 409.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.3666, allocations: 6.25 kB / 409.1 MB, free: 1.379 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.0001057/0.3667, allocations: 153.8 kB / 409.3 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.3668, allocations: 27.59 kB / 409.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.3668, allocations: 28.64 kB / 409.3 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3668, allocations: 1.5 kB / 409.3 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3668, allocations: 3.938 kB / 409.3 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3668, allocations: 2.719 kB / 409.3 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.3671, allocations: 239.8 kB / 409.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3671, allocations: 0 / 409.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.3672, allocations: 22.98 kB / 409.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3672, allocations: 5.25 kB / 409.6 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.3673, allocations: 7.281 kB / 409.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3673, allocations: 1.328 kB / 409.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3673, allocations: 4.688 kB / 409.6 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.3677, allocations: 337.2 kB / 409.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.083e-05/0.3677, allocations: 20.16 kB / 410 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.3677, allocations: 8.922 kB / 410 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.3679, allocations: 15.06 kB / 410 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.3679, allocations: 12.48 kB / 410 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.3679, allocations: 2.875 kB / 410 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.3681, allocations: 192.8 kB / 410.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3681, allocations: 1.531 kB / 410.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000388/0.3685, allocations: 85.78 kB / 410.3 MB, free: 0.6094 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.0007515/0.3692, allocations: 0.9111 MB / 411.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004932/0.3697, allocations: 271.1 kB / 411.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3697, allocations: 0.9688 kB / 411.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.3699, allocations: 59.97 kB / 411.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.3704, allocations: 87.22 kB / 411.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.3743, allocations: 2.797 MB / 414.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.3748, allocations: 0.7704 MB / 415.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001733/0.3749, allocations: 46.83 kB / 415.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.3751, allocations: 80.92 kB / 415.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.3751, allocations: 0 / 415.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04267/0.4177, allocations: 6.744 MB / 422 MB, free: 9.066 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.84, allocations: 19.77 kB / 422 MB, free: 9.047 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.535052926978096]